Koozali.org: home of the SME Server

Howto Schedule a System Update after hours

Offline robwellesley

  • *
  • 92
  • +0/-0
Howto Schedule a System Update after hours
« on: September 06, 2012, 11:19:08 PM »
[root@foo ~]# /etc/init.d/atd start
Starting atd:                                              [  OK  ]
[root@foo ~]# echo "yum -y update; signal-event post-upgrade; signal-event reboot" | at -m 6am tomorrow
job 1 at 2012-09-08 06:00
[root@otorohanga ~]#

See man at

Naturally you can run any command sting this way