0 Replies - 5889 Views - Last Post: 04 January 2013 - 10:21 AM

#1 gregwhitworth  Icon User is offline

  • Tired.
  • member icon

Reputation: 219
  • View blog
  • Posts: 1,604
  • Joined: 20-January 09

Crontab for shutdown didn't run

Posted 04 January 2013 - 10:21 AM

Hey guys,

I'm trying to have a server restart weekly on Thursday evenings and it didn't work last night. Here is my cron:
0 17 * * 5 /sbin/shutdown -r now
15 17 * * 5 /sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 25 -j REDIRECT --to-port 2500;/sbin/iptables



I checked to see the last boot this morning and it showed:
who -b
system boot  2012-12-28 17:01



Thanks guys!

Is This A Good Question/Topic? 0
  • +

Page 1 of 1