Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scheduling tasks from the command line

Status
Not open for further replies.

WhiteWiz

MIS
Jan 29, 2001
113
CA
has anyone successfully scheduled tasks on windows 2000 computers from the command line? (ie logon script)

i have tried these solutions without success:

-copying a .job file to the %windir%/tasks dir - looses it's security context, can't find the reg key
-schtasks.exe from win Xp modified to bypass version checks - don't work -jt.exe from the windows 2k res kit - so cryptic can't figure it out
-a .vbs script direct from microsoft - only seems to work on winXp machines, 2k=file not found

any help or info is appreciated.
 
Solution: (stoopid undocumented jt command)

copy \\file1\sms\reports\DailyTasks.job %windir%\tasks /y

jt /sac DailyTasks.job /sc graceland\Elvis HoundDog /svj DailyTasks.job
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top