I want to start a skript to wake up my server every morning at 8 AM.
But there is no cron.d… So how can I wake up my server at this time with etherwake?
Picked from disconnect.sh start script. Put the following into your custom script:
CRONDIR="/var/spool/cron/crontabs/" SERVERMAC="00:11:22:33:44:55" mkdir -p $CRONDIR echo "0 0 * * * /bin/etherwake $SERVERMAC" > $CRONDIR/root #start cron crond
Log in to post a comment.
I want to start a skript to wake up my server every morning at 8 AM.
But there is no cron.d… So how can I wake up my server at this time with etherwake?
Picked from disconnect.sh start script. Put the following into your custom script: