How to reinstall a lost automated jobs?2 users found helpful
I was delete an automated job "Remove Old Page Versions" by accident, and i want to reinstall it. Does someone know how to? Thanks for any help.
The handle is: remove_old_page_versions
The table to look in is called "Jobs"
I have attached an image showing the standard data required and I would also recommend changing the JNotUninstallable value to "1" this will remove the option to "Remove" from the Jobs list.
INSERT INTO `Jobs` VALUES(4, 'Remove Old Page Versions', 'Removes all except the 10 most recent page versions for each page.', now(), NULL, 0, NULL, 0, 'ENABLED', 'remove_old_page_versions', 0);
This was just what I needed!
I accidentally removed the Process Mail job and am now unable to get it back.
Any suggestions would be greatly appreciated.