Why I wish to add cron manually?
I simply want a cron job to run only at startup. How would I enter this using GUI?
Code @reboot /home/user/script.sh
What’s the path of the system cron job file? Do you mean crontab of root?
That’s not the way to go, even though I can run it as user under root then I’ll have to check that certain services are initialized which would make it unnecessarily complicated. As you may know root cron jobs run before user cron jobs. And my script is simply necessary at @reboot
Currently I use this command to edit cron jobs, logged in as user.
Code env EDITOR=nano crontab –e
I always enter manually there, all scheduled crons run fine and are never overwritten by webuzo except for @reboot.
|