I can't get cron jobs to run, when adding them with user www (nologin account):
But if I edit /etc/crontab and add this line with the user www before the command, everything is working:
Am I missing something?
Code:
crontab -u www -e
* * * * * /usr/local/bin/php /www_master/sites/support/artisan schedule:run >> /dev/null 2>&1
But if I edit /etc/crontab and add this line with the user www before the command, everything is working:
Code:
* * * * * www /usr/local/bin/php /www_master/sites/support/artisan schedule:run >> /dev/null 2>&1
Am I missing something?