With GYM One V1.2.0, a daily cron job is required to run the reminder script.
- ✅ Fresh installations: the installer automatically creates the cron job.
- ⚠️ Updating from an older version: the cron job is not added automatically, so you must configure it manually.
Step 1: Open the crontab for the www-data user
sudo crontab -u www-data -e
Step 2: Add the cron job
Replace {your_folder} with the folder where you installed GYM One (usually under /var/www/).
0 8 * * * php /var/www/{your_folder}/crontab/send_reminders.php
This will run the reminder script every day at 08:00 server time.
Step 3: Save and exit
- If you’re using nano as the editor, press:
CTRL + X, then Y, then Enter.
Step 4: Verify your crontab
Check that the cron job has been added successfully:
sudo crontab -u www-data -l
You should see the line you added.
✅ Done! Now your update to V1.2.0 will fully support automated reminders.
With GYM One V1.2.0, a daily cron job is required to run the reminder script.
Step 1: Open the crontab for the
www-datauserStep 2: Add the cron job
Replace
{your_folder}with the folder where you installed GYM One (usually under/var/www/).This will run the reminder script every day at 08:00 server time.
Step 3: Save and exit
CTRL + X, thenY, thenEnter.Step 4: Verify your crontab
Check that the cron job has been added successfully:
You should see the line you added.
✅ Done! Now your update to V1.2.0 will fully support automated reminders.