cronjob @reboot monthly?

Cameron Simpson cs at zip.com.au
Sun May 13 22:37:05 UTC 2012


On 13May2012 10:48, Frank Murphy <frankly3d at gmail.com> wrote:
| Can I do:
| crontab -e
| @reboot monthly yum clean plugins

I'm sure you could put such a line in. Doubtless it would run the
"monthly" command (no such animal I expect, and woe to you if there
were!) after a reboot.

What, precisely, do you want it to mean?

Reboot once a month?
Once a month, but only after a reboot?
After a reboot, but only if it has been at least a month since the last
one?

They can probably all be done (not exactly as typed). You'd need to test
some state yourself.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Us: We'd like to buy the SL, your very cheapest model.
Salesman: You can't get an automatic on it.
Us: We don't want it.
S: You can't...
U: Don't want it.
S: Or...
U: That either.
S: Ok, sign here.
        - David Wren-Hardin <bdh4 at midway.uchicago.edu>


More information about the users mailing list