I can’t install cron jobs, always with the following error:
“cron-jobs.txt”:4: bad minute
errors in crontab file, can’t install.
What can it be? I’m using ubuntu 20.04 PHP 7.3 and MySQL 5.7
I can’t install cron jobs, always with the following error:
“cron-jobs.txt”:4: bad minute
errors in crontab file, can’t install.
What can it be? I’m using ubuntu 20.04 PHP 7.3 and MySQL 5.7
Make sure you add the minutes in the right format.
Here is a guide:
I followed the step by step of this installation:
Okay, can you post your cron entries here?
#* * * * * php /var/www/html/bin/console mautic:segments:update
#* * * * * php /var/www/html/bin/console mautic:campaigns:update
#* * * * * php /var/www/html/bin/console mautic:campaigns:trigger
from the screenshot you have posted it seems all your cronjob are commented out.
Make sure to uncomment them. i.e. remove the #
A nice tool for setting cronjob time can be found here: Crontab.guru - The cron schedule expression editor/1_**