Solved

Cron not running wget

Posted on 2009-07-08
3
695 Views
Last Modified: 2012-05-07
I am trying to get this to work and have tried in cpanel in a sub account and it didnt run
and then tried logging in to ssh and changing the root cron, and it didnt run.

/usr/local/bin/wget http://domain.com/processorders/processing8356
for some reason I dont receive the email that the script is meant to send. Wierd.
Anyone got any suggestions I could try.
0
Comment
Question by:paulp75
3 Comments
 
LVL 6

Accepted Solution

by:
ahmad2121 earned 500 total points
ID: 24810458
maybe you have an error in your cron job that is not letting it run.
0
 
LVL 4

Expert Comment

by:tokyoahead
ID: 24810539
debug it line by line.
have it run one line of the script, check if that works, then the next.

It might be that the user that is running the cronjob does not have the right to use wget?
0
 
LVL 6

Author Closing Comment

by:paulp75
ID: 31601403
Cron had stopped on the server, so they needed to restart it, and they gave a good suggestion to alternate code. thanks
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now