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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -