Raspberry Pi Jessie has Broken Cron/at Mostly Solved
Cron was working all along but I fooled myself. The true problem right now is that all the job output such as error messages or anything else that becomes either standard error or standard output is presently vaporizing somewhere rather than being mailed back to me. I also thought I remembered seeing a message from cron every minute in syslog but that only happens when some job matches the time criteria. Since the Pi has only one working line in crontab, there isn't much to see most of the time related to cron. It also looks like cron as configured on this Pi doesn't default to off and the kodi issue was a red haring. The real issue is the cronjob output going "poof!" As soon as I figure that out, trouble-shooting will be normal. /etc/default/cron on the Pi is identical to /etc/default/cron on a Debian wheezy system. It's nice to know the Pi is not setup too differently. Anyway, thanks for helping me think on this. Martin McCormick
Re: Raspberry Pi Jessie has Broken Cron/at
Somebody is assuming that the only use for a Pi is to run a home theater and that users can't handle the terrifying task of carrying out a trivial edit of a text file. You probably just need to edit /etc/default/cron. If the Pi is not powered up all the time install anacron. -- John Hasler jhas...@newsguy.com Elmwood, WI USA
Re: Raspberry Pi Jessie has Broken Cron/at
On Tue, 19 Sep 2017, at 14:35, Martin McCormick wrote: > This raspberry Pi is running jessie lite. Raspberry Pi > documentation says that cron and at jobs are disabled by > default. There is a very odd fix recommended by some > documentation in which one edits a file named > > /home/pi/.kodi/userdata/addon_data/script.raspbmc.settings/settings.xml > > You supposedly edit that file and change a variable which allows > cron and at jobs to now run. Since unix-like systems have had > running crons for decades, is there a more conventional way to > restore this functionality? I've no idea, but the obvious question is: is this because 'Jessie lite' clearly doesn't have all the features of a full OS? -- Jeremy Nicoll - my opinions are my own.
Raspberry Pi Jessie has Broken Cron/at
This raspberry Pi is running jessie lite. Raspberry Pi documentation says that cron and at jobs are disabled by default. There is a very odd fix recommended by some documentation in which one edits a file named /home/pi/.kodi/userdata/addon_data/script.raspbmc.settings/settings.xml You supposedly edit that file and change a variable which allows cron and at jobs to now run. Since unix-like systems have had running crons for decades, is there a more conventional way to restore this functionality? There is something odd about needing kodi installed to make cron work. Kodi is not installed which is why I am asking before wasting all this disk space just to turn cron on. If you don't need kodi, could you just create that path and file with that one variable to act as a place-holder and enable cron? Thanks for all constructive ideas. Martin McCormick