Solved

Cron not running wget

Posted on 2009-07-08
3
703 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

776 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