-
April 16th, 2005, 04:14 PM
#1
Member
The "at" command, Win2kPro
Hello all, i'm having problems using the "at" command to schedule a job on my computer. I can use task scheduler fine but whenver i try to use the "at" command it won't run a single job unless i go to task scheduler and update the time.
-
April 17th, 2005, 02:12 AM
#2
Read and the solution will be before you....
C:\reading-is-fundamental>at /?
The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.
AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
[ /EVERY:date[,...] | /NEXT:date[,...]] "command"
\\computername Specifies a remote computer. Commands are scheduled on the
local computer if this parameter is omitted.
id Is an identification number assigned to a scheduled
command.
/delete Cancels a scheduled command. If id is omitted, all the
scheduled commands on the computer are canceled.
/yes Used with cancel all jobs command when no further
confirmation is desired.
time Specifies the time when command is to run.
/interactive Allows the job to interact with the desktop of the user
who is logged on at the time the job runs.
/every:date[,...] Runs the command on each specified day(s) of the week or
month. If date is omitted, the current day of the month
is assumed.
/next:date[,...] Runs the specified command on the next occurrence of the
day (for example, next Thursday). If date is omitted, the
current day of the month is assumed.
"command" Is the Windows NT command, or batch program to be run.
Our scars have the power to remind us that our past was real. -- Hannibal Lecter.
Talent is God given. Be humble. Fame is man-given. Be grateful. Conceit is self-given. Be careful. -- John Wooden
-
April 21st, 2005, 11:53 AM
#3
Member
Sorry i should have clarified, i know how to use the at command it's just that it's not working for me. I can schedule a job fine but it won't ever run, i'd have to go back and update the time in the actual task scheduler application for it to run. Does anyone know how i can "share" out my task scheduler so that i would be able to remote schedule services for my computer from afar?
-
April 21st, 2005, 01:19 PM
#4
If you're using the at command and the program isn't running unless you update it in the scheduler, it sounds like you're using the at command wrong. Give us an example of how you used it and what you expected from what you typed.
-
April 21st, 2005, 08:44 PM
#5
Good call zENGER.
vynkz, cut & paste the exact syntax and we can spot the issue.
Our scars have the power to remind us that our past was real. -- Hannibal Lecter.
Talent is God given. Be humble. Fame is man-given. Be grateful. Conceit is self-given. Be careful. -- John Wooden
-
April 22nd, 2005, 02:06 PM
#6
Member
at 10:00AM /every:m,t,w,th,f,s,su c:\startcmd.bat
Just a little batch file that i used to test on, works fine when i schedule it through task scheduler or go back and change the time on the "At1" job. The job goes through and everything, i see it in dos prompt AND in the scheduled tasks folder.
-
April 22nd, 2005, 02:29 PM
#7
try adding /interactive to the string. If you don't have interactive in the string you won't see the window pop-up.
-
April 22nd, 2005, 03:25 PM
#8
Member
Holy crap thanks alot zenger, christ I was wondering why the hell it wouldn't work. It's just weird though that if I set it to non interactive and update the time via task scheduler it works. Thanks alot though, I don't know wny I never thought of that. Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|