1753500 Members
4167 Online
108794 Solutions
New Discussion юеВ

one time schedule job

 
SOLVED
Go to solution
ust3
Regular Advisor

one time schedule job

I want to add a schedule job that only run one time ( eg. 1st Sep 2007 , 09:00am) , I know crontab can't do that , can advise how to set it ? thx
3 REPLIES 3
Ivan Ferreira
Honored Contributor
Solution

Re: one time schedule job

Use the "at" command. See man at for date format specification. See also atq and atrm.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
ust3
Regular Advisor

Re: one time schedule job

thx reply,

I hv read the man page
at [-V] [-q queue] [-f file] [-mldbv] TIME

, please advise how to set the time , for example , if 1st Sep 2007 , 09:00am , is it 200709010900 how to set it ? thx
Stuart Browne
Honored Contributor

Re: one time schedule job

Yeah, that's right.

So:

at -t 200709010900

From there, you type the commands you want to do, otherwise just < the command list into at.
One long-haired git at your service...