03-02-2015, 08:28 PM
Pages: 1 2
03-03-2015, 05:10 AM
Hi Joe,
Let me share the situation de-facto -
1. Workflow for "send sms" works perfectly, sends sms to me very moment a new lead is added. So there is nothing wrong with cronjob here i suppose.
2. workflow for "send email" works when i execute vtigercron.php manually from url, i have not yet witnessed automated execution yet.
after using debug code you gave, i deleted all the workflows i had created as they were appearing in the dump screen, and created new ones.
Just waiting for the last part of the issue to get cleared - send email automatically (workflow cron is set to 15 mins).
thanks,
Let me share the situation de-facto -
1. Workflow for "send sms" works perfectly, sends sms to me very moment a new lead is added. So there is nothing wrong with cronjob here i suppose.
2. workflow for "send email" works when i execute vtigercron.php manually from url, i have not yet witnessed automated execution yet.
after using debug code you gave, i deleted all the workflows i had created as they were appearing in the dump screen, and created new ones.
Just waiting for the last part of the issue to get cleared - send email automatically (workflow cron is set to 15 mins).
thanks,
03-03-2015, 01:23 PM
Hi Joe, I have identified the problem, it is with time triggered send email workflow. Manual trigger works fine for send email workflow. Can you tell me how to correct it?
thanks,
thanks,
03-03-2015, 07:18 PM
You have to configure your server to call the vtigercron.php script every 5-6 minutes
How you accomplish this varies depending on your server. Since you say that you can launch it manually, I understand that you can access the command line and are executing something like:
if that is the case, go to the coreBOS main directory and do this:
that will return something like /usr/bin/php
that will give you something like /var/www/corebos
make sure the file has the same permissions as the others
How you accomplish this varies depending on your server. Since you say that you can launch it manually, I understand that you can access the command line and are executing something like:
Code:
php vtigercron.php
if that is the case, go to the coreBOS main directory and do this:
Code:
whereis php
that will return something like /usr/bin/php
Code:
pwd
that will give you something like /var/www/corebos
Code:
cd /etc/cron.d
echo */5 * * * * root cd /var/www/corebos; /usr/bin/php vtigercron.php" > corebos
make sure the file has the same permissions as the others
03-06-2015, 02:23 PM
But how is the send sms workflow working automatically? doesnt tht mean vtigercron.php is executing through cronjob already?
thanks,
thanks,
03-06-2015, 10:12 PM
No, the only task that need cron workflow is emails, all the others are executed immediatly, they do not use the cron system.
Pages: 1 2