tag 635267 + unreproducible moreinfo thanks On 07/24/2011 04:46 PM, Helge Kreutzmann wrote: > In a freshly installed wheezy systems, @reboot jobs are not run. > > Jul 24 18:04:51 sneo /usr/sbin/cron[2252]: (CRON) INFO (pidfile fd = 3) > Jul 24 18:04:51 sneo /usr/sbin/cron[2253]: (CRON) STARTUP (fork ok) > Jul 24 18:04:51 sneo /usr/sbin/cron[2253]: (CRON) INFO (Skipping @reboot jobs > -- not system startup) > Jul 24 18:09:50 sneo anacron[2178]: Job `cron.daily' started > Jul 24 18:09:50 sneo anacron[2933]: Updated timestamp for job `cron.daily' to > 2011-07-24 > > (Please note this is done at every reboot, and yes, it *is* system startup).
cron decides on whether to run @reboot jobs by checking if the file /var/run/crond.reboot exists. If it exists, cron skips @reboot jobs; if it doesn't, it runs @reboot jobs, then creates it (so they are skipped next time). cron does this to ensure @reboot jobs are really run only once, instead of eg: when cron is restarted for some reason. In your case, the /var/run/crond.reboot seems to be preserved across reboots, which I cannot reproduce. Could you post the output of `mount | grep run` here? Christian
signature.asc
Description: OpenPGP digital signature

