PDA

View Full Version : (ask) cronjobs



ozzy
02-18-2007, 03:12 AM
im using sendstudio for send newsletters
and i using cronjob to scheduler it

my typical crontab file looks like:
/bin/php –q /home/user1/public_html/sendstudio/users/send_emails.php
/bin/php –q /home/user1/public_html/sendstudio/users/send_autos.php

but always got error , how i can fixed it , am i crontab setting is wrong ?

sam2sam
07-15-2007, 08:42 AM
im using sendstudio for send newsletters
and i using cronjob to scheduler it

my typical crontab file looks like:
/bin/php –q /home/user1/public_html/sendstudio/users/send_emails.php
/bin/php –q /home/user1/public_html/sendstudio/users/send_autos.php

but always got error , how i can fixed it , am i crontab setting is wrong ?

i can't get send sudio to work.anyone know the settings for cron,for hostmonster?

charlesgan
07-15-2007, 01:47 PM
http://helpdesk.hostmonster.com/kb/index.php?x=&mod_id=2&id=190

seem like missing the /usr in front of the path

sam2sam
07-16-2007, 05:00 AM
thanks will give it a go,..see what happens

sam2sam
07-16-2007, 05:17 AM
tried the usr/ the email from says.'this is a directory'
.................................................. ....................................
orginally ,the program gave me

/home/thebett1/public_html/sendstudio/admin/cron/cron.php

states i need this to work the autoresponder,
i think i am missing the 'php' path??stuck:confused:

please ...any ideas welcome

r2b2
07-16-2007, 05:19 AM
I think you'll need to try /usr/bin/php (i.e. put /usr in the front)

sam2sam
07-16-2007, 05:53 AM
thanks r2b2,will give it a try,fingers crossed