I setup the inbound email box and setup the cron job on my server but I still can't get the check inbound emails to run. Anyone have an idea?
4.2
I setup the inbound email box and setup the cron job on my server but I still can't get the check inbound emails to run. Anyone have an idea?
4.2
I just created a new file containing:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=myemail@world.com
HOME=/
# run-parts
*/1 * * * * cd /usr/local/apache2/htdocs/live_crm; /usr/local/bin/php -f cron.php > /dev/null 2>&1
saved it and ran:
# crontab my_crontab_filename
and then
#crontab -l
should show the full new crontab entry... your permissions and user have to right for this to run of course.
John
I'm not sure I did it correctly but I still can't get it to work. My server host company is powweb so if anyone using then and has got this working then any help would be great.
What do you get if you type crontab -l ?
The hosting company I host through has a GUI that lets me add things to the crontab. I tried to add crontab -l and run it but I don't think it will let me.
Ok I set my cronjob to email me everytime it runs. So now I get an email with the job runs BUT there isn't anything in the email and still no job created in the cases.
Is there something wrong with my statement?
* * * * * cd /www/i/infoware/crm/htdocs; php -f cron.php > /dev/null 2>&1
Also I don't have Shell access to my webhost.
Last edited by Uzaree; 2006-06-28 at 04:41 PM.
Hmmm, having the same problem. I receive a message when I click scheduler that tells me:
Add this line to your crontab:
* * * * * cd /srv/www/htdocs/sugar; php -f cron.php > /dev/null 2>&1
SO, I opened crontab in a text editor and added
* * * * * root cd /srv/www/htdocs/sugar; php -f cron.php > /dev/null 2>&1
I added the user name when it didn't work without it and some other post recommended it.
The whole crontab file looks like this
SHELL=/bin/sh
PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin
MAILTO=root
#
# check scripts in cron.hourly, cron.daily, cron.weekly, and cron.monthly
#
-*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1
* * * * * root cd /srv/www/htdocs/sugar; php -f cron.php > /dev/null 2>&1
New install on new box
SUSE 10.1
Sugar 4.2.0d
Apache 2.2
PHP 5
Any help much appreciated
Thanks
Type:
#crontab -l
And post here what you see...
no crontab for root
Not good I presume....
There is a crontab script in /etc and roo it owner. Do you know how I can correct this?
Tks
As I said earlier up the thread, try this:
Create a new file containing the following and save it as 'my_crontab_filename' in /etc/:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=myemail@world.com
HOME=/
# run-parts
*/1 * * * * cd /usr/local/apache2/htdocs/live_crm; /usr/local/bin/php -f cron.php > /dev/null 2>&1
Then type:
# crontab my_crontab_filename
and then
#crontab -l
should show the full new crontab entry... your permissions and user have to right for this to run of course.
John
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks