linux - Crontab doesn't work with wget -



linux - Crontab doesn't work with wget -

i set next cron tab when i'm under root user.

* * * * * wget -q --spider http://mytargeturl.com/my/url/

the codes under same server owned user (and couldn't set crontab user). have request page wget because of mvc link scheme complexity.

when run:

crontab -l -u root

i can see crontab setting.

why reason crontab doesn't work? thanks.

your syntax looks fine , should work. check /var/log/cron create sure indeed running, , if so, consider logging command's output file , inspect file pinpoint problem may be.

linux crontab

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -