[debian-edu-commits] debian-edu/ 13/64: * Add server side cron job to start waking up clients Monday-Friday at 06:30.

Mike Gabriel sunweaver at debian.org
Wed Oct 23 09:51:50 UTC 2013


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository shutdown-at-night.

commit ed06ffeaaa3c04be004a68f21800df70dfc1108d
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Fri Jun 13 06:57:39 2008 +0000

      * Add server side cron job to start waking up clients Monday-Friday at 06:30.
    
    git-svn-id: svn+ssh://svn.debian.org/svn/debian-edu/trunk/src/shutdown-at-night@41445 6e500793-9bee-0310-a5b0-9d0909bd054d
---
 debian/changelog |    2 +-
 debian/cron.d    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 32c8086..fdc41bb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 shutdown-at-night (0.2) UNRELEASED; urgency=low
 
-  * Add server side cron job to start waking up clients at 06:30.
+  * Add server side cron job to start waking up clients Monday-Friday at 06:30.
   * Change wakeupclients to log progress, and to check if a client is up
     before trying to wake it.
   * Change wakeupclients to use fping to check for alive clints, to speed
diff --git a/debian/cron.d b/debian/cron.d
index e9b32c7..ca5e262 100644
--- a/debian/cron.d
+++ b/debian/cron.d
@@ -6,5 +6,5 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
 # Shutdown clients
 0 16,17,18,19,20,21,22,23,0,1,2,3,4,5,6 * * * root test -x /usr/lib/shutdown-at-night/shutdown-at-night && /usr/lib/shutdown-at-night/shutdown-at-night
 
-# Try to wake up clients
-30 6 * * * root test -x /usr/lib/shutdown-at-night/wakeupclients && /usr/lib/shutdown-at-night/wakeupclients
+# Try to wake up clients on work days
+30 6 * * 1,2,3,4,5 root test -x /usr/lib/shutdown-at-night/wakeupclients && /usr/lib/shutdown-at-night/wakeupclients

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/shutdown-at-night.git



More information about the debian-edu-commits mailing list