Posts: 1,665
Threads: 644
Joined: Aug 2016
Reputation:
164
01-15-2018, 01:17 PM
(This post was last modified: 06-20-2018, 07:53 PM by rslemer.)
Today I start only a single file, vtigercron.sh for background tasks
But there in my installation file README-NewCronServiceSetup.txt with other instructions.
This instructions wil be use only for a new cron services, or I need changed for actually process in background too?
Ranieri
eCRM Web
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
you only need to launch one file in the cron: vtigercron.sh
I usually call vtigercron.php directly from the cron and rarely ever use vtigercron.sh, but, in the end it is the same.
Joe
TSolucio
Posts: 1,665
Threads: 644
Joined: Aug 2016
Reputation:
164
01-15-2018, 05:14 PM
(This post was last modified: 01-15-2018, 06:04 PM by rslemer.)
Ok, thanks.
I can only execute a /vtigercron.php ?
Ranieri
eCRM Web
Posts: 1,665
Threads: 644
Joined: Aug 2016
Reputation:
164
Is really necessary execute this job as root user? I normally use a apache user ( for security reasons .. )
Ranieri
eCRM Web
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
Aoache user is fine, in fact, I agree, it is much better than root, the thing is that usually, for security reasons, the apache user doesn't even have shell access so you can't use it to launch the cron. If that is not your case, you can do it with apache.
Joe
TSolucio