Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Unjunkmgr
(view source)
Revision as of 08:03, 7 December 2008
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
Smeghead
19
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search