Jump to content

Recommended Posts

Posted (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 by TCH-MikeJ
Posted

Welcome to the forums, local1! :thumbup:

 

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. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...