creating scheduled tasks automatically?

  • Thread starter Thread starter yawnmoth
  • Start date Start date
Y

yawnmoth

I have my computer set up to do a particular automated task once every
hour. Unfortunately, in order to do this, I have to create twenty-four
separate tasks. Although I have no problem adding them, one by one,
I'm wondering if maybe there's a better way? Are there some command
line commands or some wsh (eg. *.vbs) options that'd let me create a
script that'd do it for me?
 
yawnmoth said:
I have my computer set up to do a particular automated task once every
hour. Unfortunately, in order to do this, I have to create twenty-four
separate tasks. Although I have no problem adding them, one by one,
I'm wondering if maybe there's a better way? Are there some command
line commands or some wsh (eg. *.vbs) options that'd let me create a
script that'd do it for me?

You can do this with schtasks.exe. The usual way is to create one
single task and make it run once every hour.
 
After you finished the automated task, click on the task, click shedule tab.
When the box opens, click "advance", and you can schedule the task every
(some many minutes) every (so many hours) to your hearts content.

You don't need to create 24 tasks.
 
Back
Top