Skip to main content

Cron Jobs Running wget on Long URLs not Working

Comments

2 comments

  • plesk4lyf
    Hey dude, That looks fine though if it's not working, why aren't you logging the output? Wouldn't that at least help in your investigating? Remove the -q and change >/dev/null to >> $HOME/cron.log Then you'll have a log so you can see what the issue is. Alternatively you could just run the command manually and see what happens. The problem is that you're not logging anything so you've effectively blindfolded yourself.
    0
  • cPRex Jurassic Moderator
    Thanks for those thoughts, @plesk4lyf. I do agree about the logging. If you have root access to the system you could also check /var/log/cron to see if there are any entries there, but the logging steps above should get you more details. I also think running the command manually to see if that works is a great test as well. Let us know what you find!
    0

Please sign in to leave a comment.