Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Corebox Events vs Workflow Custom Function
#11
Mail Manager is for incoming emails, it has nothing to do with outgoing emails.

Keep us informed.
Joe
TSolucio
Reply
#12
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,
[color=#000080][b]Anil Purushothaman[/b][/color]
Reply
#13
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,
[color=#000080][b]Anil Purushothaman[/b][/color]
Reply
#14
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:

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
Joe
TSolucio
Reply
#15
But how is the send sms workflow working automatically? doesnt tht mean vtigercron.php is executing through cronjob already?

thanks,
[color=#000080][b]Anil Purushothaman[/b][/color]
Reply
#16
No, the only task that need cron workflow is emails, all the others are executed immediatly, they do not use the cron system.
Joe
TSolucio
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)