Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [scheduled-job]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
24 views

With the Job Report Sender can multiple reports be sent from the same job, e.g. instanaceId=1, instancesId=2, instanceId= 4

We have a bunch of reports we want send to different people once a week. The generic description of the the Report Sender sounds like we only need a new different Report Sender job if the frequency ...
Paul-Tahoe's user avatar
  • 2,965
0 votes
1 answer
12 views

Send Scheduled Mailings Failure / CiviCRM Spark - Failing Job

No scheduled mailings are sent, logs reporting: Entity: Job Action: process_mailing Summary" Finished execution of Send Scheduled Mailings with result: Failure, Error message: Array ( [content] =&...
Patrick Masson's user avatar
1 vote
1 answer
29 views

Passing exclude list to the Update Membership Statuses scheduled job

We added a special pending memberhsip status for a client, but because it is not one of the default statuses, it is not getting excluded when the Update Membership Statuses scheuled job runs and is ...
Mark's user avatar
  • 217
2 votes
2 answers
232 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
  • 1,014
1 vote
2 answers
25 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,241
0 votes
1 answer
23 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
49 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
79 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
18 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
53 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
111 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
219 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
34 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
  • 919
1 vote
1 answer
33 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
  • 919
0 votes
1 answer
28 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
30 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
84 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
72 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
32 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
33 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,241
1 vote
2 answers
85 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,239
2 votes
1 answer
94 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
103 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
462 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
212 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
29 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
74 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
80 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
  • 3,004
1 vote
1 answer
138 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
54 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
59 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
20 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
35 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
110 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
93 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,441
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
63 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
62 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,047
4 votes
3 answers
92 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's user avatar
  • 3,681
1 vote
1 answer
42 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
92 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
  • 3,004
3 votes
1 answer
46 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
  • 3,004
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
38 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
4 votes
2 answers
156 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
  • 3,004
3 votes
1 answer
47 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
99 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