A bug was introduced into WebGUI 7.9.3 and 7.8.18 that can cause Scheduler Tasks to be deleted from WebGUI sites. This bug will be fixed in the next stable and beta releases of WebGUI, 7.8.21 and 7.9.7 respectively. The upgrade will restore all default WebGUI scheduler tasks, and all tasks for handling email for Collaboration Systems. Any custom Scheduler Tasks that have been deleted will need to be restored by hand.
If you are unable to upgrade, a patch to fix the bug, and a standalone script that does the same work as the upgrade are attached to this posting.
To apply the patch, download the patch to your server.
cd /data/WebGUI
patch -p1 < /path/to/cron.patch
wreservice.pl --restart modperl spectre
To run the script, download the script to your server and then log in to your server as root:
cp restoreCrons.pl /data/WebGUI/sbin
cd /data/WebGUI/sbin
perl restoreCrons.pl --configFile=webgui_config_file_name.conf
This would need to be done for every site on the server.