• Schedule Jobs ordering and delay jobs

    Hi Guys, I have been looking into schedule jobs and I could not find what order they are executed or if there an mechanisms that can tell Sugar that job x only can be executed when job 1 was executed 1st. I have look into the documentation and there…
  • How to execute a scheduler at a random interval?

    There is a scheduler, Prune Old Record Lists , https://support.sugarcrm.com/documentation/sugar_versions/13.0/serve/administration_guide/system/schedulers/#Prune_Old_Record_Lists which executes As Often As Possible. This scheduler will execute "optimize…
  • Execution of Schedulers in UTC?

    Schedulers execute based on the timezone associated with the System Administrator. If we set a Scheduler to be executed at Min: 30 Hour: 06 Date: * Month: * Day: 1-5 This means this should be executed at 6:30 a.m. Monday - Friday. However…
  • Can I connect to an external DataBase to get data in a LogicHook or Scheduler?

    Hello Everyone! I have a question, exist some form to stablish a connection with an external DataBase from a LogicHooc or Scheduler? I need get data from an external DataBase to insert in a module and I need make this in a Scheduler. Regards…
  • What is the best way to track Scheduled jobs execution ?

    Hello, we often got issues with scheduled jobs and it's difficult to debug the scheduled jobs. The problems are the cron job error are vanished because of the cron configuration and often without any info in Sugarcrm.log the job queue can…
  • How to get Scheduler details while a Job running?

    Hi, I have a custom scheduler and for which I have a created a scheduler job. I want to read the fields like Job URL, Status, Interval, etc from Job record in the custom scheduler code as I need to manipulate one of these field while the job is running…
  • Move files with a custom scheduler job

    Hello Everyone, I have a script that transfers data from csv files to sugarcrm. Everything works properly except that I want to move the files after being successfully processed from folder "Queue" to folder "Processed". function move_file_to_proccessed…
  • Add custom field in Scheduler module.

    Hi Sugar Developers, I have requirement were, I want to add custom dropdown field in scheduler. In dropdown there are two option pdf and csv. when user select pdf option from dropdown scheduler will send report in pdf format. I know we don't get scheduler…
  • Problem with triggering SugarBPM process

    I have SugarBPM process (formerly known as Advanced Workflow) that sends an email when a field in Meetings module changes to 1. The value of this field is set by a Scheduled Job, which runs a MySQL query like this: $Query = " UPDATE meetings m JOIN meetings_cstm…
  • ALL Schedulers "Forced failure on timeout" after 8.0.1 upgrade

    I upgraded from Sugar PRO 7.9.4 to Sugar PRO 8.0.1 and ALL schedulers fail with message "Forced failure on timeout". I also get: /bin/sh: line 1: 21425 Segmentation fault /usr/bin/php -f cron.php > /dev/null 2>> logs/Cron/cron.raw.err there are no errors…
  • Setting up Cron Jobs

    I am trying to run Scheduled jobs on a local instance of Sugar. I have my local instance of Sugar running in a vagrant virtualbox. Can anyone point me in the right direction on how to set up the cron on a virtualbox? Thanks!