</> Developers Guide to Funraisin

Crons

Every Funraisin site has around 10 crons by default which run at various times of the day / night performing certain tasks such as database backups, data cleaners, rubbish collection, report generation etc. In addition to the standard ones, custom ones can be created to provide enhanced automation.

Cron Logs

Besides the standard cron logs that exist on the server which aren't able to be accessed by anyone but Funraisin, we also store the cron logs in the admin so you can always see if a cron has fired.

Cron logs can be accessed via Platform Setup > General > Cron Logs

CMS_crons_history

When adding in custom scripts that are executed via a cron it's good practice to also have your custom script create an entry in the cron logs.

["id","name","description","num_records","date_created"]

Custom Crons

Funraisin developers add custom crons frequently to perform various tasks, often they are used to manage custom syncs to various platforms or very commonly used to create custom fields based on certain criteria which can then be synced using one of our standard syncs.

A custom cron can only be added by Funraisin developers with access to the servers and they always use the Custom Controller to handle the task.