Vtiger CRON

Do you want to automate your Vtiger tasks? Are you looking for a way to have your Vtiger workflows run smoothly without any manual input? If so, then you need to set up a CRON. Cron is a system that helps Linux users schedule tasks, and it can be particularly useful for Vtiger users. In this blog post, we will show you how to set up a CRON for Vtiger and explain the benefits of doing so. Stay tuned!

To use cron, you must first edit the crontab file. This file contains a list of all the cron jobs that are currently scheduled. Each job is represented by a line of text that specifies when the job should be run and what command should be executed. To edit the crontab file, you must have permission from the system administrator. Once you have permission, you can use the crontab command to add, remove, or edit jobs.

Understanding the Basics of Crontab in Linux

Le crontab, fichier système Linux, répertorie les tâches programmées. Il se divise en six champs pour les minutes, heures, jours du mois, mois, jours de la semaine et commande à exécuter. L’astérisque () signifie une exécution à chaque unité de temps. Des listes séparées par des virgules ou des plages de valeurs permettent de définir des exécutions multiples ou régulières. Par exemple, “” dans le champ des heures signifie une exécution toutes les heures, “10,20” dans celui des minutes indique une exécution à 10 et 20 minutes, et “8-17” dans celui des heures établit une exécution chaque heure de 8h à 17h.

# Check cron service on Linux system

sudo systemctl status cron.service

How to handle an error on your cron job ?

A lot of services as workflow is attached to the cron on vtiger. So if you have problems on workflow or importation from csv data or even if you are just complete the installation of the vtiger system, you should configure the cron in your server. You should create a cron job in your system to execute “vtigercron.php” every 15 minutes. This will help you to keep your data up to date and error free. If you do not configure the cron, some of the features may not work properly or may not work at all.

There could be a few different reasons your cron jobs aren’t running as planned. Sometimes it’s a simple case of incorrect syntax in the crontab file. Other times it might be that you’re using the wrong command-line options. And then there are permissions issues to consider. If you’re not sure what might be causing the problem, there are a few steps you can take to troubleshoot your cron jobs. First, check the crontab file for any errors. Then try running the cron job with the ‘-v’ option to get more verbose output. If the problem persists, there are likely some permissions issues at play. In this case, it’s best to consult your system administrator or hosting provider for assistance.

For Vtiger you may need to make the following changes:

Modify the file on path : vtlib/vtiger/cron.php

After :

if (!$this->isDisabled()) {

Add :

return true;


Inscrivez-vous à notre newsletter pour les dernières mises à jour et offres exclusives.


Related Post

Leave a Comment

Copyright © 2025

CRM4YOU

Suivez-nous

Sélectionnez votre devise
EUR
MAD