Can I do:
crontab -e
@reboot monthly yum clean plugins
--
Regards,
Frank
"Jack of all, fubars"
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
05-13-2012, 09:58 AM
Ed Greshko
cronjob @reboot monthly?
On 05/13/2012 05:48 PM, Frank Murphy wrote:
> Can I do:
> crontab -e
> @reboot monthly yum clean plugins
>
>
My guess is no.... from man 5 crontab
EXTENSIONS
These special time specification "nicknames" which replace the 5 initial
time and date fields, and are prefixed with the '@' character, are sup‐
ported:
@reboot : Run once after reboot.
@yearly : Run once a year, ie. "0 0 1 1 *".
@annually : Run once a year, ie. "0 0 1 1 *".
@monthly : Run once a month, ie. "0 0 1 * *".
@weekly : Run once a week, ie. "0 0 * * 0".
@daily : Run once a day, ie. "0 0 * * *".
@hourly : Run once an hour, ie. "0 * * * *".
--
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
05-13-2012, 10:02 AM
Frank Murphy
cronjob @reboot monthly?
On 13/05/12 10:58, Ed Greshko wrote:
On 05/13/2012 05:48 PM, Frank Murphy wrote:
Can I do:
crontab -e
@reboot monthly yum clean plugins
My guess is no.... from man 5 crontab
EXTENSIONS
These special time specification "nicknames" which replace the 5 initial
time and date fields, and are prefixed with the '@' character, are sup‐
ported:
@reboot : Run once after reboot.
@yearly : Run once a year, ie. "0 0 1 1 *".
@annually : Run once a year, ie. "0 0 1 1 *".
@monthly : Run once a month, ie. "0 0 1 * *".
@weekly : Run once a week, ie. "0 0 * * 0".
@daily : Run once a day, ie. "0 0 * * *".
@hourly : Run once an hour, ie. "0 * * * *".
Was hoping I could cheat, ah well, back to the garden.
--
Regards,
Frank
"Jack of all, fubars"
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
05-13-2012, 10:37 PM
Cameron Simpson
cronjob @reboot monthly?
On 13May2012 10:48, Frank Murphy <frankly3d@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@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@midway.uchicago.edu>
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org