Skip to content
Mark Metcalfe edited this page Oct 3, 2021 · 8 revisions

The site cron task can be manually run by logging into a php container and running:

# Alias for php admin/cli/cron.php
cron

You can also use the cron containers to run the cron automatically using crontab. Just create your own crontab files within the cron.d folder and start a cron container like:

# in the background
tup php-7.3-cron

# in the foreground
tdocker up php-7.3-cron

# access the logs anytime with
tdocker logs -f php-7.3-cron

# stop a daemonized cron container
tstop php-7.3-cron

Clone this wiki locally