Questions tagged [scheduled-job]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
201 views

Scheduled Jobs stopped working

CiviCRM v 5.66.0 Wordpress v 6.3.2 PHP V 8.1.25 Yesterday, all scheduled jobs were working fine but today Scheduled Reminders and Stripe: Cleanup have both stopped working with the following error ...
peterb's user avatar
  • 994
1 vote
2 answers
19 views

How to debug hanging job?

We have an extension (home-baked so long ago that it can be considered legacy, meaning no-one knows enough about it) implementing a job that has started to hang on execution. I can run the job from ...
thoni56's user avatar
  • 1,231
0 votes
1 answer
20 views

intermittent file not writable error

CiviCRM 5.62.1 / Wordpress 6.2.2 I have an intermittent error on the version check action as part of my cron. It'll run fine for a couple of days, then fail, then run again. I suspect an over ...
John Bradford's user avatar
1 vote
0 answers
43 views

anacron not executing scheduled jobs

I am trying to execute cron.php for all Civicrm jobs through the Anacron tab on the cpanel of Gandi, but I keep getting "execute_all_jobs: PHP Fatal error: require_once(): Failed opening ...
Hilary Binder's user avatar
2 votes
2 answers
78 views

Cannot run scheduled jobs - cli.php errors out with uninformative "Error"

I upgraded to 5.56.0 from 5.55.2, run in Joomla 3.10, and power with php 7.4.32 and apache httpd 2.4.54. The very next cron run produced "Error". Running by hand also produces "Error&...
Charlie Wilder's user avatar
3 votes
1 answer
15 views

Create automation to add membership for all in group

I'm looking for a way to have Civi take all the people in a group and sign them up for a membership of a specific type, then remove them from the group. My hunch is that this should be done in ...
user14091's user avatar
0 votes
1 answer
40 views

very slow in sending emails

I am trying to send an email to around 4 thousand contacts but it took one day to send it to 500. I tried to go on "scheduled jobs" and "execute the job now" but it says error and ...
user14029's user avatar
1 vote
1 answer
95 views

Cron job is run but CRON.PHP not executing job

I'm using DRUPAL 9 CivicCRM 5.54 and running it on CPanel. This is a new install. The cron job on CPanel runs and doesn't generate errors, however the cron.php script doesn't run the job.execute API ...
DaveP's user avatar
  • 11
2 votes
1 answer
171 views

Bounce Processing and Process Inbound Emails Failure, Error message: Could not connect to MailStore

We have recently been getting scheduled job failure notices for both Bounce Processing and Process Inbound Emails. This happened out of the blue a week or two ago... it's been fine for a good couple ...
Alison_UNA's user avatar
1 vote
1 answer
23 views

30 day overdue notification to staff

I would like to send out either an email or better an email with a report with all those members who are 30 days overdue. I'm not wanting this to go straight to the member, but to one of my staff who ...
SandJT's user avatar
  • 161
1 vote
0 answers
30 views

process_membership scheduled job error

I believe this error has been quietly happening for some time, but it was daylighted after an upgrade that brought the error to the status page (I love the update to the status page). When the ...
kapn's user avatar
  • 791
1 vote
1 answer
26 views

Finished execution of Mail Reports with result: Failure, Error message: is not of type String

I have just worked through upgrading from 5.44 to 5.52 on WordPress. It took a few tries, and I had to do it in stages, but seemed to work in the end except that I have an error in my scheduled jobs ...
kapn's user avatar
  • 791
0 votes
1 answer
22 views

Finished execution of Membership status processor with result: Failure, Error message: Invalid data value given

Drupal 7.x and CiviCRM 5.52.2 Full error: Aug 09 10:19:30 [debug] $Query = INSERT INTO civicrm_job_log (domain_id , job_id , name , command , description , data ) VALUES ( 1 , 11 , 'Membership ...
Zachary's user avatar
  • 1,777
0 votes
1 answer
21 views

CIVICRM_TEMPLATE_COMPILEDIR / template_c folder becomes too large. How to empty it periodically?

We realized that the folder which is set in CIVICRM_TEMPLATE_COMPILEDIR (in our case as per default: template_c) became way too large. From time to time it grew so much that we needed to empty it ...
Tobias Krause's user avatar
0 votes
1 answer
63 views

How can I write custom entites/ actions for api v3 - usage of api v4 for scheduled jobs

I want to define some scheduled jobs so that old data is deleted from time to time. For example contacts in trash, mailings older than X year, drafted mailings never sent... For scheduled jobs I need ...
Tobias Krause's user avatar
1 vote
1 answer
49 views

Cronjob for CiviCRM with drush 10: The "-u" option does not exist

According to this documentation https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#drush I defined the following crontab: * * * * * /var/www/path_to_civi_project/vendor/drush/drush/drush -u ...
Tobias Krause's user avatar
1 vote
0 answers
27 views

Running Job.update_greeting without updating customized greetings

When I run the Scheduled Job "Job.update_greeting" with those parameters ct=Organization, Individual, Household gt=email_greeting, postal_greeting, addressee force=1 or also with less ...
Maria's user avatar
  • 11
0 votes
0 answers
30 views

Mailings stops - how to debug

Our last mailing stopped after 2000 out of about 3400 being sent. I aborted that and created a new mailing (trying to target the rest of the intended recipients). This job has now stopped att 1000 of ...
thoni56's user avatar
  • 1,231
1 vote
2 answers
79 views

Scheduled Job -- Mail report - cannot find InstanceID

Set up schedule job for mail reports. the following error is in the log: Finished execution of Mail Reports with result: Failure, Error message: Report Mail Triggered... Required parameter missing: ...
Dave T's user avatar
  • 1,229
2 votes
1 answer
81 views

civimail sometimes stuck on running via Scheduled Jobs screen

We have set up a mailer using Mosaico and have set it to send immediately. There is no cron set up, so I have executed the "Send Scheduled Mailings" manually in the scheduled jobs settings. ...
SLubbinge13's user avatar
1 vote
1 answer
90 views

Error Message "Cron not running", but it's working perfectly. CiviCRM 5.43.0

I've seen a couple of Drupal workarounds for this, but not for Wordpress. The CiviCRM status is below; note that the last reported cron run was manually executed by me. All extensions are up-to-date: ...
Garry H's user avatar
  • 21
0 votes
2 answers
410 views

Getting Cron to run scheduled jobs with Drupal 9 in cPanel

I am trying to setup cron to run job.execute that I have setup in CiviCRM scheduled jobs. Drupal https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#cron Cron setup¶ In order for the scheduled ...
sushichris's user avatar
1 vote
2 answers
176 views

Mailing scheduler, API permission check failed; require access CiviCRM

Salut. I am using easycron to trigger cronjobs for civicrm. url to call: https://mywebsite.de/wordpress/wp-content/plugins/civicrm/civicrm/bin/cron.php Method: post name=cronuser&pass=password&...
Mich___'s user avatar
  • 81
0 votes
1 answer
25 views

Date field not rendering correctly through extra.tpl file

We have one custom extension which try to add additional field on scheduled job New/Edit screen using hook. function jobextra_civicrm_buildForm($formName, &$form) { if ($formName == '...
Sunil Pawar's user avatar
0 votes
1 answer
71 views

what time zone does Civi think its in?

I am trying to send a scheduled mailer and need to know what time CIVI believes it is in ? Right now CIVI appears to be 2 hrs. ahead of my time zone but there is not indication of time zone anywhere. ...
gretchen's user avatar
0 votes
1 answer
26 views

After upgrade CiviCRM 5.28 to 5.32.2. Cron is Stop When Mailing start

After Upgrade CiviCRM version 5.28 to 5.32.2. Cron stops when mass mailing start. After mass mailing completed Cron is again start. CiviCRM: 5.32.2 Drupal: 7 Php: 7.2.24
jagjeet's user avatar
  • 101
2 votes
1 answer
77 views

Email report via cron gets moved every time it runs!

I have scheduled job (daily) to email a report to myself. I would like to receive it on a specific time everyday. Although I have set the time when it should run, every time it runs on a different ...
Tapash's user avatar
  • 2,928
1 vote
1 answer
126 views

How do I access drush commands specific to CiviCRM?

I have installed CiviCRM 5.31 on Drupal 8 with the following set of commands according to the official Drupal and CiviCRM documentation: cd /var/www composer create-project drupal/recommended-project:...
Quasimodo's user avatar
  • 113
1 vote
2 answers
49 views

Mailing only works when executed manually, not scheduled

I am trying to executed a job to send out a mailing via CiviMail. This works when I do this manually, but fails when scheduled: permission check failed for Group/get call; insufficient permission: ...
Webmaster COVS's user avatar
3 votes
2 answers
58 views

Membership status changing from Grace to Expired a day later than expected

CiviCRM 5.24.5, Drupal 7.72 The job "Update Membership Statuses" is set to run once per day. According to the log, it ran on July 1st but no records were updated. I expected to see all ...
freeform.steph's user avatar
0 votes
0 answers
19 views

Unknown scheduled job creating duplicate contacts

So I have a mystery. Every day at 17:40+-2 minutes, the system creates a number of duplicate contacts. These contacts largely have the same set of names: Other things of note: 1. All of these ...
Corey Burger's user avatar
0 votes
1 answer
30 views

Using the cron facility

I have unsuccessfully been trying to get the cron facility to work and would like someone to help me please. I am working on a Joomla 3 site. The CP provides a facility to create a cron job which ...
Bill's user avatar
  • 21
0 votes
1 answer
104 views

Not receiving email from Scheduled Reminder for Activity

I am attempting to set up a Scheduled Reminder for Scheduled Activities (CiviCRM 5.20.2/Drupal 7). I have a Scheduled Reminder set up as follows: This is setup to send to the Activity Assignees, 0 ...
danielrobertson's user avatar
1 vote
2 answers
87 views

How do you properly setup scheduled job for report mailings?

Our cron is setup correctly - however I am not sure our parameters for the job mail_report are. instanceId=[82] format=[print] Also, do I have to create a separate job for each report or can I ...
themak's user avatar
  • 3,352
0 votes
1 answer
15 views

Added scheduled reminder not showing in admin

I have been battling for 48 hours trying to figure out why schedule reminders I added are not showing up in admin. Here's the screenshot: https://www.screencast.com/t/AZ1CoyMqDbH Also, there are ...
Verjs's user avatar
  • 1
1 vote
1 answer
57 views

Disabling Scheduled Jobs, Transactions, etc (from command line)?

I'm working on migrating our site to a different server. I need to do some testing on the new server while keeping the production site live. The problem is that the test server continues to run all ...
Sleewok's user avatar
  • 1,146
1 vote
2 answers
60 views

Bounce processing - will fail for G Suite users when Google disables less secure apps in Feb 2021 [duplicate]

Google have announced they are stopping support of less secure apps in G Suite in Feb 2021. No new LSA connections will be allowed after Jun 2020. Google have advised me that the email accounts I'm ...
Ken West's user avatar
  • 1,037
4 votes
3 answers
80 views

Modify emailed reports content

I'd like to get users more in tune with their data by sending them notifications of certain high-value reports. I really don't want them with the data attached in a PDF or worse, a CSV. I'd rather ...
Andy Burns - iXiam's user avatar
1 vote
1 answer
38 views

CiviCRM Scheduled Jobs Timezone Confusion

I am running a CiviCRM deployment in a GNU\Linux environment. When comparing the times reported by https://example.com/civicrm/admin/job (Settings - Scheduled Jobs) with https://example.com/civicrm/...
Alex's user avatar
  • 31
1 vote
0 answers
66 views

Cron "Running" But "Not Running"!! How to fix this?

I had everything running fine until this morning all of a sudden CiviCRM decided to show up a message that cron is not running. But if I go to scheduled Job its all running fine. Please see the ...
Tapash's user avatar
  • 2,928
3 votes
1 answer
41 views

How to stop Mailing Queue from civirules?

By mistake I have turned on a settings in civirules that it keep sending email repeatedly. I have removed the criteria from civirules but it seems mails are still being sent through "Scheduled mail ...
Tapash's user avatar
  • 2,928
0 votes
1 answer
74 views

Schedule reminder test not working - execute now for job not working

So I have set up a scedule reminder and made sure it is only dirrected to my email. When I go into sceduled jobs and execute the send_reminder job, it doesn't work. I worked twice yesterday to a ...
user avatar
1 vote
1 answer
35 views

Email When Scheduled Job Fails

When any scheduled job fails or throws an error is there a way to have it send out an email to me? I was thinking drupal rules but wondering if there is an easier way to do this.
WVMike's user avatar
  • 471
3 votes
2 answers
153 views

Is there a way NOT to email if a report with no result

I need to email a report weekly to a department within organisation. Report usually sent via scheduled job in Pdf format. If there's no result an email still gets sent. Is there way NOT to email an ...
Tapash's user avatar
  • 2,928
3 votes
1 answer
43 views

How Do I Get a CiviCRM Report to be an attachment in a schedule job to email to a colleague?

I have created some reports for our membership director and have set up scheduled jobs to email those reports on the first day of each month. I tested them out but got lines of code and then the ...
Ronald Jamieson's user avatar
1 vote
1 answer
39 views

Is there a simple cron command that I can enter on cPanel to trigger scheduled jobs?

I'm trying to set up a cron job on cPanel for Civicrm 5.9 running on Wordpress 5.1.1. I've read so many "you need to do this" "you need to do that" my head is spinning. Is there a simple command ...
Morty's user avatar
  • 13
2 votes
0 answers
91 views

How do I use webcron for Job.Execute?

I just got started with setting up a small implementation of civicrm. We aren't heavy-users but I want to be able to get the cron jobs working. I decided to use webcron via easycron because it seemed ...
Sam Simons's user avatar
1 vote
0 answers
56 views

Sendmail errors from scheduled jobs

I have been seeing some error messages in an email report from scheduled jobs. The messages are all: /usr/sbin/sendmail: unexpected response 501 to RCPT TO command which doesn't tell me a lot. It ...
Mick Kahn's user avatar
  • 3,227
1 vote
1 answer
38 views

Scheduled job execution time is creeping [duplicate]

I have a scheduled job that runs at 10am each day. It just sends a report. I'm noticing over time that the job is executing later and later. Now it is executing at 10.15am. Anyone else noticed this ...
Tony Horrocks's user avatar
1 vote
1 answer
143 views

Scheduled Job not executing with wp-cli under cron, but works manually

This wp-cli command executes fine from the command line, but not when run as a cron job. /var/sites/d/mydomain/wp-cli --user=admin --url=https://mydomain/wordpress --path=/var/sites/d/mydomain/...
Andy's user avatar
  • 31