Add TODO for getting cron.php working properly.

This commit is contained in:
Hyperling 2025-03-28 17:15:41 -07:00
parent f8d4c4654e
commit 6611665770

View File

@ -4,6 +4,13 @@
# This should be added to root's crontab with the full path, such as: # This should be added to root's crontab with the full path, such as:
# */5 * * * * /opt/Docker/Config/Nextcloud/cron.ksh # */5 * * * * /opt/Docker/Config/Nextcloud/cron.ksh
# TODO / TBD
# - Install cron -y on nc-app.
# - Ensure */5 * * * * /var/www/html/cron.php is an entry for www-data.
# - Ensure service cron is started and running.
# - Remove the entry for this file under root on the Docker server.
# - Test that everything works after an update and reboot of both NC + Docker.
# Check if a job is already going. # Check if a job is already going.
PROG="$(basename -- "${BASH_SOURCE[0]}")" PROG="$(basename -- "${BASH_SOURCE[0]}")"
RUNNING=`ps -ef | grep $PROG | grep -v grep | grep -v $$ | grep -v "sh -c" | wc -l` RUNNING=`ps -ef | grep $PROG | grep -v grep | grep -v $$ | grep -v "sh -c" | wc -l`