Changes

Jump to navigation Jump to search
666 bytes added ,  08:03, 7 December 2008
m
no edit summary
Line 97: Line 97:     
===How do I change when the reminder email is sent out?===
 
===How do I change when the reminder email is sent out?===
This does right now require a manual change. Open in you preferred editor:
+
Currently this requires a manual change. Open in you preferred editor:
    
  /etc/e-smith/templates-custom/etc/crontab/unjunk
 
  /etc/e-smith/templates-custom/etc/crontab/unjunk
Line 124: Line 124:  
         }
 
         }
 
  }
 
  }
   
+
 
 +
See the following schema for modifying the job scheduling:
 +
 
 +
*    *  *  *    * command to be executed
 +
-    -    -    -    -
 +
|    |    |    |    |
 +
|    |    |    |    +----- day of week (0 - 6) (Sunday=0)
 +
|    |    |    +------- month (1 - 12)
 +
|    |    +--------- day of month (1 - 31)
 +
|    +----------- hour (0 - 23)
 +
+------------- min (0 - 59)
 +
 
 +
For example, the original entry:
 +
 
 +
$OUT .= "0 13 * * 5 root /usr/local/unjunkmgr/spamreminder.pl\n"; # Friday
 +
 
 +
Is set to run at 13:00 (1pm) on Friday of every week, to change it to say run at 4:30pm Monday to Friday:
 +
 
 +
$OUT .= "30 16 * * 1-5 root /usr/local/unjunkmgr/spamreminder.pl\n"; # Monday to Friday
 +
 
 
Then expand templates
 
Then expand templates
 
   
 
   
19

edits

Navigation menu