User Tools

Site Tools


cron_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cron_notes [2022/12/11 10:59] – created rajucron_notes [2022/12/11 11:28] (current) raju
Line 8: Line 8:
 @reboot sleep 300 && /path/to/start_file_server.sh @reboot sleep 300 && /path/to/start_file_server.sh
 </code> </code>
 +
 +It works for normal users (does not have to be root).
 +
 +Ref:-
 +  * Go to the man page ["man 5 crontab", https://manpages.debian.org/bullseye/cron/crontab.5.en.html ] -> search for reboot
 +
 +{{tag>["run a command as a user after machine starts"]}}
 +
cron_notes.1670756398.txt.gz · Last modified: 2022/12/11 10:59 by raju