Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run cron #59

Closed
olso opened this issue Mar 4, 2015 · 1 comment
Closed

Unable to run cron #59

olso opened this issue Mar 4, 2015 · 1 comment

Comments

@olso
Copy link

olso commented Mar 4, 2015

Hey,

$ * * * * * /usr/bin/php $HOME/Documents/etm/api/artisan cron:run

gives me

zsh: command not found: app

Maybe, zsh is the culprit here?

edit1: same with bash

$ * * * * * /usr/bin/php $HOME/Documents/etm/api/artisan cron:run
No command 'app' found, but there are 17 similar ones
app: command not found

edit2: reading http://askubuntu.com/questions/23009/reasons-why-crontab-does-not-work
edit3: just going to use external service...

@olso olso closed this as completed Mar 4, 2015
@liebig
Copy link
Owner

liebig commented Mar 5, 2015

Hi @olso,

Thank you for this information. You can use curl instead of an external service, too. curl http://yourdomain.com/cron.php?key=yourSecurityKey > /dev/null 2>&1. If you use this, please let me know if it works.

Thanks,
Marc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants