Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#9642 - cron: hourly, daily, reboot directives
Attached to Project:
Arch Linux
Opened by Vinay S Shastry (shastry) - Thursday, 21 February 2008, 15:38 GMT
Last edited by Aaron Griffin (phrakture) - Thursday, 21 February 2008, 18:11 GMT
Opened by Vinay S Shastry (shastry) - Thursday, 21 February 2008, 15:38 GMT
Last edited by Aaron Griffin (phrakture) - Thursday, 21 February 2008, 18:11 GMT
|
DetailsDescription:
In debian (and probably other distributions), there's support for @reboot, @daily, and @hourly directives in cron. But I'm not able to get the same done in arch's cron. Example, i could use the following in my user crontab: @reboot /home/shastry/zope/instance/bin/zopectl restart and it'd fire up the process on system startup only. How to do this? I have dcron 3.2-3 installed. |
This task depends upon
Closed by Aaron Griffin (phrakture)
Thursday, 21 February 2008, 18:11 GMT
Reason for closing: Not a bug
Additional comments about closing: dcron does not support these options. Try using another cron implementation
Thursday, 21 February 2008, 18:11 GMT
Reason for closing: Not a bug
Additional comments about closing: dcron does not support these options. Try using another cron implementation
when i try to add @hourly etc, i get this:
/tmp/fcr-Fb8sln:1: Option "hourly" unknown: skipping option.
/tmp/fcr-Fb8sln:1: Error while reading frequency (lower than 10s) : skipping line.
File contains some errors. Ignore [i] or Correct [c] ? Please press c to correct, or i to ignore:
Debian doesn't use the same cron that we do, so it's obvious that some options will not work. We use dcron and apparently debian uses every cron EXCEPT dcron.