2 votes
Accepted

Shutdown command vs cron jobs

The shutdown command doesn't know anything about cron jobs, but if you're on a modern system then shutdown is actually handled by systemd, and systemd knows about inhibitors, which allow you to ...
larsks's user avatar
  • 34.4k
1 vote

cron "@reboot" schedule not executing network configuration script

The network interfaces are not ready when the cron script is being executed. Delay it with: @reboot sleep [time in seconds] && /home/<user>/startup.sh
jcbermu's user avatar
  • 4,736

Only top scored, non community-wiki answers of a minimum length are eligible