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

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance





"Dave Patrick" wrote:

> http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/soon-o.asp
>
> Why not create the Scheduled Task then properties for the task
> Schedule|Advanced check the box for "Repeat Task" every 1 hour with a
> duration of 24 hours.
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "Prem Mehrotra" wrote:
> |
> | I am still using at command even though it is obsolete. I did not find
> an
> | at command to run
> | a job every hour. I know how to run a job at certain time of day, everyday
> |
> | at \\NCSUSRAPSGGS1 00:30 /EVERY:M,T,W,Th,F,S,Su cmd.exe /V /C
> | "e:\oracle\dev\bkup.bat"
> |
> |
> | To run this job every hour, I simply ended up creating 24 at jobs starting
> | at 00:00, 01;00, 02:00 .... There should be an easier way.
> |
> | Prem
>
>
>
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 Task could not start
    ... > Remember that if it involves network resources to make sure the user ... > Dave Patrick ....Please no email replies - reply in newsgroup. ... > | We have setup a scheduled task to run on this Win2000 server machine. ... > | stops running. ...
    (microsoft.public.win2000.general)
  • Re: Scheduled Tasks Not Stopping
    ... Dave Patrick ....Please no email replies - reply in newsgroup. ... I set up a test condition where I'm using a batch file called test.bat. ... The contents of the file are a single command; ... scheduled task with the "Create Basic Task" wizard. ...
    (microsoft.public.windows.server.sbs)
  • Re: Restart a Windows 2003 server via scheduled task without no user is logged on
    ... Dave Patrick ....Please no email replies - reply in newsgroup. ... "Stefan Westner" wrote: ... | I add a scheduled task run as administrator with following command-line: ...
    (microsoft.public.windows.server.general)
  • Re: Scheduled Tasks Not Stopping
    ... Dave Patrick ....Please no email replies - reply in newsgroup. ... "Bernie" wrote: ... Any program I try to set as a Scheduled Task performs this way. ...
    (microsoft.public.windows.server.sbs)
  • Re: Restart a Windows 2003 server via scheduled task without no user is logged on
    ... Dave Patrick wrote: ... I add a scheduled task run as administrator with following command-line: ...
    (microsoft.public.windows.server.general)