Re: How to run a job every hour using dos at command?



Scheduled Tasks|Advanced|View Log may provide some details. If the job
connects to another machine you may need to add the user/ group 'logon as
batch job' rights (server side). Control Panel|Admin Tools|Local Security
Policy\Local Policies\User Rights Assignments
"Log on as a batch job"

Remember that if it involves network resources to make sure the user account
has permissions to the resources and also use UNC paths as mapped drives
won't exist when no one is logged on.

This article may also help.

Result Codes in Scheduled Tasks Indicate an Error Occurred in the Task
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q267031

For Windows XP
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/schtasks.mspx


For Windows 2000
You can use the Task Scheduler Command Line Utility
ftp://ftp.microsoft.com/reskit/win2000/jt.zip


--
Regards,


Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Prem Mehrotra" wrote:
| thanks.
| Is there a way to run scheduled task in a scripted way. The user
interface
| is nice, but if I want to setup similar jobs on another computer, I have
to
| reenter all those key strokes. Also, I have not been succesful in
| scheduling taks from the user interafce, gives me some error invalid
| login/password even when I am usig default system login.


.



Relevant Pages

  • Re: Scheduled tasks hang while running
    ... batch job' rights. ... Result Codes in Scheduled Tasks Indicate an Error Occurred in the Task ... | scheduler window. ...
    (microsoft.public.win2000.general)
  • Re: Schedule task issue
    ... I create a batch job with a loop control. ... START SCHEDULER. ... user group the right to logon as batch job will do as well. ...
    (microsoft.public.windows.server.general)
  • Re: Control HSM Pri/SEC migration from batch job
    ... We just use our scheduler to rung batch jobs that issue the hold/release ... Control HSM Pri/SEC migration from batch job ... My basic idea it to execute a batch REXX which creates HSM commands like ...
    (bit.listserv.ibm-main)
  • Re: Schedulted task and batch files
    ... batch job' rights. ... |I have a batch file that we use with RAR commands in it. ... I have scheduled the task to run in Scheduler ...
    (microsoft.public.win2000.general)
  • Re: Scheduled task not starting
    ... What could cause the Scheduler to return "could not start". ... Administrator has correct rights - log on as batch job ... > add the user/ group 'logon as batch job' rights. ...
    (microsoft.public.win2000.general)