Cron job not working on Godaddy

I am trying to create a cron job to send emails out. The script works but the command line for the cron job in Godaddy seems to be incorrect. This is what I have currently to make it run every minute.

1 * * * *

/usr/local/bin/php -q /home/username/public_html/mydomain.com/cron/email_hours_worked.php > /dev/null

I do believe that will run every 1st minute of every hour (10:01, 11:01, 12:01, etc).

Perhaps what you want is 1-59 * * * * (if you really want the job to run every single minute of every day).

Link love to crontab guru.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.