Arch Linux

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!
Tasklist

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
Task Type Support Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
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
Comment by Vinay S Shastry (shastry) - Thursday, 21 February 2008, 18:03 GMT
  • Field changed: Percent Complete (100% → 0%)
Roman, this is a support request. Not a bug report :)

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:
Comment by Aaron Griffin (phrakture) - Thursday, 21 February 2008, 18:05 GMT
I reopened this task, but I'm fairly certain that Roman means this:
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.
Comment by eliott (cactus) - Thursday, 21 February 2008, 18:07 GMT
yes. Debian by default uses vixie cron I believe.
Comment by Roman Kyrylych (Romashka) - Thursday, 21 February 2008, 18:08 GMT
I've just copypasted a request for closure made by another user (which seemed valid to me).

Loading...