1834500 Members
3514 Online
110068 Solutions
New Discussion

At command

 
Enda martin
Occasional Contributor

At command

Is there a way to schedule a job to run on the 22nd of each month using "at -f"
3 REPLIES 3
Andreas Voss
Honored Contributor

Re: At command

Hi,

for periodically scheduled jobs you have to use the crontab not the at command.
Edit your crontab with:

crontab -e

(this starts a vi session with the current crontab)

For every 22nd day of a month ie. at 10:00 am insert:

0 10 22 * *

For further information see 'man crontab'

Regards
Sandor Horvath_2
Valued Contributor

Re: At command

Hi !

Andreas has right, only one other think add user to /var/adm/cron/cron.allow to access use crontab.

regards, Saa
If no problem, don't fixed it.
Alan Edwards
Frequent Advisor

Re: At command

Yes, by making your 'at' job create another 'at' job when it runs (usualy at the end).
But, why would you want to when crontab is designed to do this?
Klatu Barada Nikto