Menu

Start script at 8 AM

Help
Anonymous
2011-05-14
2013-05-29
  • Anonymous

    Anonymous - 2011-05-14

    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?

     
  • Patrick Schmidt

    Patrick Schmidt - 2011-05-25

    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.

MongoDB Logo MongoDB