I would like to have a simple shell script that will be executed 2 min after my server came up after reboot.
I just want to have a service restarted. can anyone advice? Thanks.
I would like to have a simple shell script that will be executed 2 min after my server came up after reboot.
I just want to have a service restarted. can anyone advice? Thanks.
Create an at job on system boot, either from a new init script or from /etc/rc.local.
echo "command to run etc" | at `date --date='2 minutes' +%H:%M`