106-add-cleanup-html-completed-cron.sql
1 -- Register the cleanup_html_completed cron job 2 -- Deletes HTML files for sites that have been fully outreached or replied to 3 INSERT OR IGNORE INTO cron_jobs ( 4 task_key, name, description, handler_type, handler_value, 5 interval_value, interval_unit, enabled 6 ) VALUES ( 7 'cleanup_html_completed', 8 '9.8 Cleanup HTML Completed Sites', 9 'Delete HTML files for sites where proposals sent via all methods or real reply received', 10 'command', 11 'node src/cron/cleanup-html-completed.js', 12 1, 13 'days', 14 1 15 );