The package cron-tick is a very simple package for background tasks but it does not support multiple processes, if you run your app in multiple processes (or containers) use percolate:synced-cron instead.
Use the package percolate:synced-cron
Define a job:
Starting up your defined jobs:
It supports syncronizing jobs between multiple processes, like Galaxy with more than 1 container.