Cron job reference

Clowder uses cron jobs to run recurring background work automatically. This page describes each cron job in the Admin Panel, what it does, what it updates, and when it runs.

For information about enabling, disabling, viewing logs for, and manually running cron jobs, see Cron.

Understanding Clowder cron jobs

Go to Admin Panel > Cron to see the cron jobs in the following table. The Launch schedule column shows each cron job's schedule in plain language, followed by the schedule expression in parentheses as it appears in the Cron Command column.

Cron jobWhat it doesWhat it updatesLaunch schedule
Feed cronChanges the status of polls and news from Scheduled to Published and sends the related push notifications at the same time.Poll status, news status, and push notificationsEvery minute (* * * * *)
Pin Sponsor CronRemoves the pin-to-top setting from events, news, polls, forum categories, and file categories. Also removes the sponsor from news, polls, forum categories, and file categories.Pin-to-top and sponsor settingsDaily at 7:30 PM UTC (30 19 * * *)
Push NotificationsSends push notifications that were previously scheduled, then changes their status to Sent.Push notification statusEvery minute (* * * * *)
Events Import CronImports events and updates events that were already imported.EventsDaily at 4:40 AM UTC (40 4 * * *)
Comments CountersCounts the number of comments in forums and news.Comment counts for forums and newsDaily at 4:05 AM UTC (5 4 * * *)
Export CronProcesses data exports that start from the export button in the Admin Panel. Running exports as a background job prevents timeouts when the amount of data is especially large.Exported dataEvery minute (* * * * *)
Notification CenterSaves and sends push notifications, and clears old notifications.Push notifications and notification historyEvery minute (* * * * *)

πŸ“˜

NOTE

Launch schedules are set in UTC. The last launch time shown in the Admin Panel appears in the admin's local timezone. See Cron for more information about reading the launch schedule.


Did this page help you?