This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I setting up the two default cron jobs, like say in http://octobercms.com/docs/help/installation#crontab-setup
* * * * * /opt/php54/bin/php /home/bostonmetroproje/public_html/panel/artisan queue:cron 1>> /dev/null 2>&1
* * * * * /opt/php54/bin/php /home/bostonmetroproje/public_html/panel/artisan scheduled:run 1>> /dev/null 2>&1
I crate my own command and it was added to sheduled, it run every 10 minutes. But it doesn't fired. The command work fine in my local linux, added with crontab -e
.
But i need to added it manually on crontab (using cPanel) to be worked.
*/5 * * * * /opt/php54/bin/php /home/bostonmetroproje/public_html/panel/artisan planetadeleste:sendmails >/dev/null 2>&1
There is no error, the commands work fine throw the console. I really don't know the source of the problem, why my command work fine, but the scheduled:run don't? My command was in sheduled:summary
+----------------+--------------------------+-----------+--------+------+--------------+-------+-------------+--------+
| Environment(s) | Name | Args/Opts | Minute | Hour | Day of Month | Month | Day of Week | Run as |
+----------------+--------------------------+-----------+--------+------+--------------+-------+-------------+--------+
| * | planetadeleste:sendmails | | */10 | * | * | * | * | |
+----------------+--------------------------+-----------+--------+------+--------------+-------+-------------+--------+
I don't know what is the problem using cPanel for the two first commands
Thanks and sorry my english
Last updated
1-1 of 1