Projet: | Trisquel |
Version: | 7.0 |
Composant: | Programs |
Catégorie: | Rapporter un bogue |
Priorité: | minor |
Attribué: | Non assigné |
Statut: | wrong |
After I've upgraded to 7.0 I cannot acces my cron jobs and I am not sure are they working at all.
Output of "sudo strace -o /tmp/cron.strace cron -l" attached.
$ ps awx |grep cron
1798 ? Ss 0:00 cron
$ ls -l /var/run/crond.*
-rw-r--r-- 1 root root 5 ное 13 09:00 /var/run/crond.pid
---------- 1 root root 0 ное 13 09:00 /var/run/crond.reboot
$ cron -l
cron: can't open or create /var/run/crond.pid: Permission denied
$ sudo cron -l
no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory
cron: can't lock /var/run/crond.pid, otherpid may be 1798: Resource temporarily unavailable
$ sudo cat /var/run/crond.pid
1798
Facepalm. I feel stupid for filing this bug report. The right command is crontab, not cron.