local1 Posted May 10, 2005 Posted May 10, 2005 (edited) Hello I'm having a small problem with my cron i run phpnuke site and i added this line in the command section >get http://[edited for content]/modules/MS_Analysis/include/cronmaintenance.php > /dev/null and i keep getting email saying >/bin/sh: line 1: command not found something to that affect i just deleted the lastone i got but in subject line i saw something like this <robert@[edited for content]>server4 blah blah guess i will have to wait for the next update to see what it said. just wondering if anyone might have a clue what i am missing? Thanks. Edit: Edited out site name due to content. Edited May 10, 2005 by TCH-MikeJ Quote
TCH-Thomas Posted May 10, 2005 Posted May 10, 2005 Hi and welcome to the forum. Sorry, I dont know the answer, but hang in there, someone that knows will see this and answer. Quote
local1 Posted May 10, 2005 Author Posted May 10, 2005 GET needs to be all in CAPS. <{POST_SNAPBACK}> I tried that still got that email message i even tried it with a space GET http://. and GEThttp://... and get http://.. and gethttp://.. still all same email message error Quote
TweezerMan Posted May 11, 2005 Posted May 11, 2005 Welcome to the forums, local1! The command should be set up in a cron job like this: >GET http://www.my-TCH-site.com/modules/MS_Analysis/include/cronmaintenance.php > /dev/null I tried using a GET command like the one above in a cron job on my account and I received the same error you did (/bin/sh: line 1: GET: command not found). The above is an alternate version of the following command, which does work on my account: >lwp-request -m GET http://www.my-TCH-site.com/modules/MS_Analysis/include/cronmaintenance.php > /dev/null Try that one and see if it works better for you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.