Windows 10: How to watch a script's output that is being run in the background using Task Scheduler?

Discus and support How to watch a script's output that is being run in the background using Task Scheduler? in Windows 10 Ask Insider to solve the problem; I've set up a "rclone" script that outputs its own progress if the script is run using a PowerShell window. However, since I run the script using task... Discussion in 'Windows 10 Ask Insider' started by /u/TipOfTheAnglersCap, Dec 27, 2020.

  1. How to watch a script's output that is being run in the background using Task Scheduler?


    I've set up a "rclone" script that outputs its own progress if the script is run using a PowerShell window. However, since I run the script using task scheduler, there will be no PowerShell window to watch the progress from.

    I'm looking for a way to see what a background script is outputting. How can I do this? Is there a place where I can see all active scripts and choose one to show its output?

    submitted by /u/TipOfTheAnglersCap
    [link] [comments]

    :)
     
    /u/TipOfTheAnglersCap, Dec 27, 2020
    #1

  2. Running a VB Script File Using Windows 10 Task Scheduler

    Please post your current version of the script.

    Note also that I'll be off the air for a whole week, starting this coming Sunday evening. With your response cycle of one reply per day, you are unlikely to solve your problem anytime soon. This is aggravated by you consistenly posting insufficient information
    (e.g. repeatedly not posting your script, not posting numbers of problem lines, taking numerous attempts to post the exported xml file etc. etc.). You need to remember that respondents cannot see your screen.

    Lastly - you are trying to use the Task Scheduler to launch a script to open an Excel file to launch a macro. This is an extremely ambitious task. It is also not a good way to do things. A script can do everything that a macro can, and more, but more simply.
    Forget about the macro. Here are the steps you should take:

    • Get my script going in the foreground.
    • Get it going while scheduled.
    • Write a script that opens an Excel file.
    • Run it in the foreground.
    • Run it in the background.
    • Expand it to manipulate the spreadsheet.
    • Run it in the foreground
    • Run it in the background.
     
    Frederik Long, Dec 27, 2020
    #2
  3. Peer_Sam Win User
    Task Scheduler doesn't run script

    Hi,

    Thank you for writing to Microsoft Community Forums.

    Are you able to run the script manually? If yes, does it do what it is intended to?

    Disable the UAC temporarily.

    Make sure that the Task scheduler
    service is running.

    Press ‘Win+R’.

    Type Services.msc.

    Locate the service Task scheduler
    and make sure that it is in running state.

    Go to the Conditions
    tab in task scheduler and make sure that no such condition is set which could block the task from running.

    Enable All Tasks History in Task scheduler and run the scheduled task.

    Refresh the task scheduler and check if you find any error message/code for any step in the task run.

    Also try with disabling Run whether the user is logged on or not
    option and see if the script runs.

    Hope it helps.

    Peer Samie

    Microsoft Community-Moderator
     
    Peer_Sam, Dec 27, 2020
    #3
  4. How to watch a script's output that is being run in the background using Task Scheduler?

    Window's Task Scheduler Not Running

    Hi,

    To assist you better, kindly provide us more details by answering the following questions:

    • Have you tried recreating the task? If so, are you getting the same issue?
    • Have you tried creating a new task?
    Meanwhile, we suggest that you ensure that the Task Scheduler is running. You can verify if the service is running by following these steps:

    • Press Windows key + R on your keyboard.
    • Type services.msc and hit Enter.
    • Under Services (Local), make sure that the Task Scheduler service's status is
      Started or Enabled.
    Should you need further assistance, feel free to get back to us.
     
    Monica Cam, Dec 27, 2020
    #4
Thema:

How to watch a script's output that is being run in the background using Task Scheduler?

Loading...
  1. How to watch a script's output that is being run in the background using Task Scheduler? - Similar Threads - watch script's output

  2. Task scheduler does not perform or run simple script or task

    in Windows 10 Gaming
    Task scheduler does not perform or run simple script or task: I have a problem with the task scheduler that does not run simple phyton script or play mp3 or run a program when scheduling the taskI have try several options but none seems to solve the issue.thank you,thomas...
  3. Task scheduler does not perform or run simple script or task

    in Windows 10 Software and Apps
    Task scheduler does not perform or run simple script or task: I have a problem with the task scheduler that does not run simple phyton script or play mp3 or run a program when scheduling the taskI have try several options but none seems to solve the issue.thank you,thomas...
  4. Unable to run Task using Task Scheduler

    in Windows 10 Customization
    Unable to run Task using Task Scheduler: Task scheduler using local non-admin account to run shutdown /s not working. Asks for password then gives error that account does not have privileges'. I change the user running the account to admin, run whether logged off or not, not storing password, same error after...
  5. Running a script on file deletion with task scheduler.

    in Windows 10 Ask Insider
    Running a script on file deletion with task scheduler.: I'm trying to figure out how to run a (python) script whenever any file is deleted with task scheduler. I tried googling but with no success, all I found out was that the event ID for file deletion is 4660 I think, and it's probably under security logs. The problem is that...
  6. Script and task Scheduler

    in Windows 10 BSOD Crashes and Debugging
    Script and task Scheduler: Hello I work for a company with a number of powerful graphic computers on which Windows 10 is installed These computers work 24/7 with 2 engine programs that run intermittently 24/7 but not in parallel. I want to know if it is possible to create a script and use it...
  7. How to schedule PowerShell script using Task Scheduler in Windows 10

    in Windows 10 News
    How to schedule PowerShell script using Task Scheduler in Windows 10: [ATTACH]PowerShell scripts reduce the effort in running repetitive tasks. If you are frequently executing scripts at pre-defined times or specified time intervals, you may want […] This article How to schedule PowerShell script using Task Scheduler in Windows 10 first...
  8. Task Scheduler python script - task starts and completes, but script doesn't run

    in Windows 10 Ask Insider
    Task Scheduler python script - task starts and completes, but script doesn't run: I have a simple script to change my wallpaper that I want to run every 24 hours (separate script that runs fine to download APOD daily). I'm on Windows 10. The script is a .pyw python file. If I run the script using IDLE or simply manually running it by double clicking, it...
  9. Task Scheduler doesn't run script

    in Windows 10 Software and Apps
    Task Scheduler doesn't run script: Hey Microsoft Community, I'm trying to create a task in Task Scheduler that runs a specific script. The issue is that when the task runs (whether I do it manually or if it's scheduled), the script doesn't actually get executed. I know that the script works, and I have tried...
  10. Task Scheduler Script

    in Windows 10 Network and Sharing
    Task Scheduler Script: I want to enable and disable my Ethernet connection at specific times each day. Task Scheduler prompts me for the script identifying the action of enabling or disabling the Ethernet connection. How do I identify these two specific scripts? 75194