Solved

Cron not running wget

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 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

14 Experts available now in Live!

Get 1:1 Help Now