Home All Groups Group Topic Archive Search About

Using AT Command to run job "At System Startup"



Author
25 Oct 2007 10:49 AM
Kevin Gray
I'm in the process of rolling out some house keeping scripts to some of my
servers.  I want these scripts to run "At System Startup".  I know how to
manually create the jobs through Scheduled Tasks by I want to be able to
create the jobs using the AT command.

Does anyone know how to schedule a job to run "At System Startup" using the
AT command?


Cheers,

Kevin

Author
25 Oct 2007 11:18 AM
Chris M
Kevin Gray wrote:
> I'm in the process of rolling out some house keeping scripts to some of my
> servers.  I want these scripts to run "At System Startup".  I know how to
> manually create the jobs through Scheduled Tasks by I want to be able to
> create the jobs using the AT command.
>
> Does anyone know how to schedule a job to run "At System Startup" using the
> AT command?

Not sure about how to schedule it, but why not use a startup script in a
group policy instead?

--
Chris.
Author
25 Oct 2007 12:43 PM
Pegasus (MVP)
Show quote
"Kevin Gray" <Kevin G***@discussions.microsoft.com> wrote in message
news:5283EC81-6CC3-4948-BA76-DAF56E2053D1@microsoft.com...
> I'm in the process of rolling out some house keeping scripts to some of my
> servers.  I want these scripts to run "At System Startup".  I know how to
> manually create the jobs through Scheduled Tasks by I want to be able to
> create the jobs using the AT command.
>
> Does anyone know how to schedule a job to run "At System Startup" using
> the
> AT command?
>
>
> Cheers,
>
> Kevin

At.exe is a legacy command. You should use schtasks.exe instead:

schtasks.exe /create /?

AddThis Social Bookmark Button