Link to home
Start Free TrialLog in
Avatar of HilltownHealthCenter
HilltownHealthCenter

asked on

Possible to script a scheduled task for easy distribution?

I want to distribute a  batch file to run on workstations after hours. To do it manually, I would have to go to each workstation,  import the script and then run the task scheduler.

Can I set up the task scheduler using a script? My plan then would be to distribute the two scripts (scheduler and batch file) and have each user execute the scheduler script to put it all in place.
ASKER CERTIFIED SOLUTION
Avatar of mastoo
mastoo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zwseemm
zwseemm

Run this under the command prompt and it will show you all the options.

schtasks /?
Sorry I didn't read your post close enough.  You could do the scheduling remotely but you either need to distribute the batch file or have it accessible on the network.
Avatar of HilltownHealthCenter

ASKER

I love this site!