PDA

View Full Version : setting up cron job


Retired
01-29-2008, 08:25 AM
I have not been able to set up a cron job. I got the cron job command from Blue Host FAQ"s and cannot make it work.

I keep getting this email from Blue Host several times a day-
Cron <isthatri@box55> /usr/bin/php -q /home//isthatri/public_html/wp_smartrss.php No input file specified.

I have tried submitting a ticket to Blue Host and have not received a reply in a week.

Can someone tell what I need to change?

felgall
01-29-2008, 10:19 AM
Try getting rid of the extra slash after home.

Retired
01-29-2008, 05:09 PM
Steghen, Thanks for responding. I did that and I still get the same messages and
it still doesn't work.

felgall
01-29-2008, 05:13 PM
Are you sure that you have the script you are trying to run in the right place?

beedub
04-13-2008, 12:47 PM
I am trying to install an autoblogging script. I have followed the suggestions of the script manual. I have also followed some of the suggestions of this forum. I even called the bluehost tech support and basically was told to buy a book or "google cron command".
One of my basic questions is this: what is an input file? I know that it is where the cron job command puts its info, but what exactly is it?

What would an input file on a wordpress directory look like? Or is it an input file in the autoblogging script?

Any thoughts? Anyone?

siguie
04-14-2008, 03:00 AM
I'm not really sure what you mean by "autoblogging" but it sounds vaguely like the post blog via email option. In that case the "input file" is the email sent. I dunno if that's any help but good luck! :)

arnb
04-14-2008, 07:13 AM
I have not been able to set up a cron job. I got the cron job command from Blue Host FAQ"s and cannot make it work.

I keep getting this email from Blue Host several times a day-
Cron <isthatri@box55> /usr/bin/php -q /home//isthatri/public_html/wp_smartrss.php No input file specified.

I have tried submitting a ticket to Blue Host and have not received a reply in a week.

Can someone tell what I need to change?

Try this, something similar works for me. I got if from BH tech support when I first converted to BH and had trouble with Cron jobs:

/ramdisk/bin/php5/home/isthatri/public_html/wp_smartrss.php

Make sure wp_smartrss.php exists and try executing it from your browser's url command line. Additionally, put the following at the beginning of your php script to insure you get all notices and errors.
ini_set ('error_reporting', E_ALL);

TheWebHostingHero
04-14-2008, 07:28 AM
you could also try to issue your command in a shell to see if it generates any error message