[TriLUG] Cron doesn't seem to run

Brian via TriLUG trilug at trilug.org
Mon Jan 10 15:19:08 EST 2022


On 1/10/22 3:03 PM, Dwain Sims via TriLUG wrote:
> Be careful how you edit your crontab file.  

Dunno if this has already been mentioned, but the "right" way to edit a 
crontab file is with this command:

$ crontab -e

To edit another user's crontab:

$ sudo crontab -e -u <user>

This will launch a text editor, and apply changes upon the editor's exit.

That may or may not lead to reliable handling of CRLFs, but does 
reliably encapsulate ensuring cron is aware of the changes.

-B


More information about the TriLUG mailing list