Scheduled jobs

There are a number of pieces of functionality in Outline that rely on scheduled jobs being ran on a daily basis. Cleanup of temporary files, sending email reminders, and removing items from the trash being just a few.

Setup

In order to have these be triggered you should setup a cron job that triggers the utility endpoint with the token defined in UTILS_SECRET environment variable once per day. The request should look like:

https://docs.mycompany.com/api/cron.daily?token=<UTILS_SECRET>