scheduled-tasks interview questions
Top scheduled-tasks frequently asked interview questions
I don't want task scheduler or whatever to wake the computer, but when I open the laptop back up and the machine wakes I'd like that to be the trigger that task scheduler or something uses to run an app.
Source: (StackOverflow)
In my windows, I want to schedule a windows service to start once every 10 seconds. I tried using the windows task scheduler but it only gives me an option to repeat the service daily, weekly and monthly.
Is there a way I can schedule the windows service to start once every 10 seconds using windows task scheduler?
What could be done?
Source: (StackOverflow)
Is there any easy way to schedule repeated jobs in Mac OS X?
I know I could use cron, but I'm looking for a more user friendly way to do it, a GUI for schedules, something like this.
Source: (StackOverflow)
I've got a scheduled task set up in my Windows 7 machine which is meant to run a BAT file when I'm not around, i.e. the machine has been idle for 15 minutes.
Does anyone know how to track down the cause of the error code ?
Checked on MSDN and it says ...
SCHED_E_TASK_ATTEMPTED
0x80041324
The Task Scheduler service attempted to run the task, but the task did not run due to one of the constraints in the task definition.
And to confuse me even further, I've just noticed it has run while I'm at the machine with last result (0x0)
Source: (StackOverflow)
I created a custom task from another application (Peachtree), but it never showed up in the Active Tasks list. So, I created it manually from within the Task Scheduler, but the task still hasn't appeared.
I'm afraid I now have two tasks that do the same thing, but I can't change them in any way. What can I do?
Source: (StackOverflow)
I am not turning laptop off, but rather putting into hibernation, as it starts much faster and I can continue working without starting all apps again.
It was working long time from Windows XP to Windows 8.1.
However now (after upgrade to Windows 10), when I just take my laptop out of the bag after a travel, it was quite hot. I've realized that it is turned on.
In the event log I have found that it was installing updates and before that there was the following log:
The system has returned from a low power state.
Sleep Time: 2015-08-16T12:55:18.180075900Z Wake Time:
2015-08-16T12:55:17.852758500Z
Wake Source: Unknown, but possibily due to timer - Windows will
execute 'NT TASK\Microsoft\Windows\UpdateOrchestrator\Reboot'
scheduled task that requested waking the computer.
When I located the task above in the task scheduler, it has trigger in that time, however the "last run time" is day before. So I do not know what to believe "last run time" or the wake source from the event above?
How to find out what is waking the computer from the hibernation (it is possible?) and how to prevent it?
Source: (StackOverflow)
I want my computer to start uTorrent at 4 o'clock in the morning, when I'm asleep. But the computer is a bit noisy so I put it to sleep mode every time I go to bed.
I've tried creating a task in Task Scheduler with this parameters:
Run whether user is logged in or not
Daily At 4:00 every day
Start a program "C:\Program Files\uTorrent\uTorrent.exe"
Wake the computer to run this task
I've tried to change the time to run to make sure the computer wakes up and runs uTorrent. But it doesn't.
What am I doing wrong? Maybe I've lost something?
Source: (StackOverflow)
I'm wondering if there is any way to execute a program, run some command or anything else when closing the laptop's lid.
My question aims to be generic, both for Windows and Linux. Something useful should be locking the laptop when closing the lid (Win + L in windows), or running expensive processes such as antivirus analysis etc. without doing it manually before closing the lid.
Source: (StackOverflow)
They both sound synonymous.
Do programs "at startup" run before the programs "at logon"?
Or do they still run if you don't logon?
Source: (StackOverflow)
I want to have an executable run every time I connect to my wireless network at home. The purpose is to sync a folder on my laptop with my desktop machine.
Is there any way run a program or script when you join a wireless network?
I'm running Windows 7, and I'd also be happy to use a program that takes care of this kind of task.
Source: (StackOverflow)
I need to send some emails at a specific time of the day and need to do it every day. How can I do it with Outlook?
Delay delivery
helps to send mail at a specific of time; but how to create new mail to be sent for tomorrow?
Source: (StackOverflow)
In the windows task management I created a new folder, lets call it "mytasks". I expected to be able to organize new tasks into it by using drag&drop from existing tasks, but somehow that's not possible. How do I move already existing tasks to a new folder/category? Thank you!
Source: (StackOverflow)
I'm using Windows 7 and I need to schedule a daily backup that does the following:
- The schedule needs to run daily at 7pm
- The backup needs to generate a compressed archive of selected backup directories. These archives are ideally created with 7zip.
- The archives generated by the backup need to be placed in a directory on my filesystem of my choosing.
I know Python and MSBatch, but I was hoping I wouldn't have to write a script for this. Are there any tools out there that will do what I need or at least something similar? I can use the Windows 7 task scheduler to execute this, but I don't know of what program it would execute.
Source: (StackOverflow)
I need to set up a Windows Scheduled Task. It accepts 1 parameter/argument which is a path and can contain spaces. My Scheduled task does not work - it "breaks" the parameter up at the first space.
If I run it in the Command Prompt I can just wrap the argument in " " and it works fine, however, this does not work in the Scheduled Task UI.
e.g. C:\Program Files\xyz\FTP File Transfer\FTPFileTransferTask.exe "C:\Program Files\xyz\The Interface\Folder Path"
I have tried wrapping the argument with " " ' ' [ ] () and have tried filling in the spaces with %20, ~1 etc. with no luck.
I know of one solution to make a bat file and use " " around my argument but I don't want to add more complexity.
I tried it on Windows 7 and Windows 2008 Server and both failed. There seems to be no discussions on this?
Source: (StackOverflow)
I wish a task to be scheduled to run when any user logs on, but is not dependent on any one user being logged on, so I pick "Run whether user is logged on or not". The problem with this is that the program runs hidden (as stated in the docs and queried in this Microsoft Community post), but I need the GUI to be visible.
So, I need to pick "Run only when user is logged on" for it to be visible. But any one "normal" user might not be logged on!
Which user account should I use in order to run this task?
I tried running it as SYSTEM, but that automatically sets the "Run whether user is logged on or not" option - so it will run hidden.
Source: (StackOverflow)