Laradock: Crontab Not Starting On Run

Created on 30 Nov 2016  路  3Comments  路  Source: laradock/laradock

As discussed in #14, The crontab is configured in the workspace container but does not start until it is manually edited via crontab -e. Seems to be an issue with installing and activating the cron.

When editing via contab -e no changes are required, just open and save. The standard Laravel cron task immediately starts running correctly.

I've experienced this issue on three different projects both on Ubuntu Server and OSX.

Bug Need Help

Most helpful comment

So if I add the cron to /etc/cron.d it appears to start correctly.

So the cron would look like

* * * * * laradock php /var/www/artisan schedule:run >> /dev/null 2>&1

All 3 comments

So if I add the cron to /etc/cron.d it appears to start correctly.

So the cron would look like

* * * * * laradock php /var/www/artisan schedule:run >> /dev/null 2>&1

If we all feel that this is an acceptable solution, I'll open aPR

@sixlive thanks for the follow up, 馃憤 for PR.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dioseltorre picture dioseltorre  路  3Comments

percymamedy picture percymamedy  路  3Comments

nickfan picture nickfan  路  3Comments

StarFleetCPTN picture StarFleetCPTN  路  3Comments

Mahmoudz picture Mahmoudz  路  3Comments