|
From: | Gurmeet Gill |
Subject: | schedule command for a bash script |
Date: | Wed, 13 Dec 2000 11:43:37 -0500 |
Hello,
I have written a bash script to automate my build process and now i want to schedule this task. I am trying to use at command, which does not seem to work. I am using the following syntax: at 10:43AM ls
when i hit enter i get this line: Added a new job with job ID = 1
And if i print at to see the status i see following line:
bash-2.02$ at
Status ID Day Time Command Line
-------------------------------------------------------------------------------
1 Next 14 10:48 AM ls
bash-2.02$ at 10:48AM "bash ls"
Added a new job with job ID = 2
bash-2.02$ at
Status ID Day Time Command Line
-------------------------------------------------------------------------------
1 Next 14 10:48 AM ls
2 Next 14 10:48 AM "bash ls"
bash-2.02$ at 10:49AM "bash ls"
Added a new job with job ID = 3
bash-2.02$ at 3
Task ID: 3
Status: OK
Schedule: Next 14
Time of day: 10:49 AM
Interactive: No
Command: "bash ls" ( i also tried ls without bash and without quotes)
why it's not working for me. Is my syntax o.k. Please help.
Thanks,
Gurmeet Kaur Gill
Software Build Prime
Wireless e-Mobility Solutions, Nortel Networks
Ph. (905)863-1097 ESN 333
Email gillg@nortelnetworks.com
[Prev in Thread] | Current Thread | [Next in Thread] |