Calendar Cleanup
Mod Version: 1.00, by mtbikemike
vB Version: 3.8.7 |
Rating: (0 vote - 0 average) |
Installs: 5 |
Released: 21 Sep 2011 |
Last Update: Never |
Downloads: 28 |
Not Supported
Additional Files
Re-usable Code
|
Calendar Cleanup
This simple add-on adds a scheduled cron job that will delete events that are older than a certain date. It will also ensure that the year range setting is always updated to a current range.
Features- ensures the calendar year is always set between a specified range
- deletes old single day events
- deletes old date range events
- depending on setting, deletes old recurring events or slides them forward so they continue to recur indefinitely.
Install instructions- unzip attached file and place the calcleanup.php file in the includes/cron directory
- edit the defined constants in calcleanup.php to your desired date range and recurring event slide preference
- install product-cron_calendar_cleanup.xml
- either run the new job from the Scheduled Task Manager, or wait for it to execute on the first of every month
Download
calcleanup-0.1.zip (2.1 KB, 31 downloads)