Solved

Cron not running wget

Posted on 2009-07-08
3
708 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Turn Insights into Action

Communication across every corner of your business is essential to increase the velocity of your application delivery and support pipeline. Automate, standardize, and contextualize your communication processes with xMatters.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

690 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