Cron @reboot

Latest response

Hi,
I read an article that suggest using a special string @reboot on a user cron file. This can be used to execute a script at startup after a reboot command has been issued.
Does anyone know if this @reboot only works if the system is restarted by executing the reboot command, or will it still work if the system reboots but reboot command not executed, such as a system crash/reboot?

http://www.cyberciti.biz/faq/linux-execute-cron-job-after-system-reboot/

Responses