Question

Crontab Not Working, Logging not working as well.

  • Posted October 18, 2014

I am trying to create a crontab to run a php script every minute:

* * * * * http://tutorialcow.com/Resources\%20_Blocked/Session/Change_Salt.php It doesn’t work, and I can’t figure out how to debug it.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hay, for first sorry, for my very bad english ;)

And to your question:

You must run a client as prefix for your cronjob how:

* * * * * wget http://tutorialcow.com/Resources\%20_Blocked/Session/Change_Salt.php

in my opinion is:

* * * * * php -c /var/www/yourDirectory/Resources_Blocked/Session/Change_Salt.php

the best you can do, if it’s file running on localhost

You need to do something with that http:// address. I think what you want is to execute the PHP file, so I’d recommend

If there are errors, you’ll receive an email from cron.