Scheduler execution issue

Hey everyone,

I’m facing a bug with the suitecrm scheduler (v 7.11.10), i’m running a url task and it’s not all executed by suitecrm. But when I try via crontab it’s executed like a charm.

I’d like to know what is breaking the execution ? And if I can modify this timeout 'cause i’m doing a big data import and I’d like to make it with suitecrm and not the server crontab.

Thanks for help !

Check if your apache user is added to the allowed_cron_users in config (if not add in config_override.php )

Thanks for the answer,

It’s allready added in the config.php

I presume that you’ve edited the crontab for your webserver correctly?:

and followed through the guidance at the end of the page:

  1. Checked Admin->Schedulers
  2. Checked suitecrm.log
  3. Checked the syslog
  4. Checked the web error log

Other things that can cause issues are:

  1. selinux on RH/CentOS/Fedora type systems - Does this apply to you?
  2. Permissions on files - Having run the cron.php as a user different to the web user, it is possible for files to be inaccessible to the web user - a particular problem if you ran it as root! Try running as the correct user that is used by the web server.

I found a solution.

I launch a file that will launch the biggest one and it works

That sounds like it might potentially be a timeout issue within php.ini
:thinking:
You’re circumventing it by not using the web interface.

It could be another solution, I don’t change the max execution time of fpm :thinking: