cancel
Showing results for 
Search instead for 
Did you mean: 

How to set trigger for MaintenanceCleanupJob

Former Member
0 Kudos

I want to schedule cleanupCronJobsPerformable which is under MaintenanceCleanupJob. How to schedule or set the trigger timming for entire MaintenanceCleanupJob?

Accepted Solutions (0)

Answers (1)

Answers (1)

andyfletcher
Active Contributor
0 Kudos

Same as you would create a trigger for any cronjob. e.g. run every hour on the hour

 INSERT_UPDATE CronJob;code[unique=true];job(code);sessionUser(uid);sessionLanguage(isocode);active
 ;cleanupCronjobs;cleanupCronJobsPerformable;admin;en;true
 INSERT_UPDATE Trigger;cronJob(code)[unique=true];cronExpression;active[default=true]
 ;cleanupCronjobs;0 0 1 ? * *
Former Member
0 Kudos

Thank you 🙂 , we are following the same approach.