Questions tagged [scheduled-job]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 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 ...
user avatar
0 votes
1 answer
21 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 ...
user avatar
0 votes
1 answer
10 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 ...
user avatar
1 vote
0 answers
7 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 ...
user avatar
  • 11
0 votes
0 answers
27 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 ...
user avatar
  • 958
0 votes
0 answers
17 views

Can Scheduled Jobs time out?

I have set up a few Scheduled Jobs that have started successfully started, but never finished. Is this due to a "time out" configuration? I would like to support some long running jobs.
user avatar
  • 355
1 vote
2 answers
38 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: ...
user avatar
  • 1,139
2 votes
1 answer
42 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. ...
user avatar
1 vote
1 answer
39 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: ...
user avatar
  • 21
0 votes
2 answers
125 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 ...
user avatar
1 vote
2 answers
66 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&...
user avatar
  • 71
0 votes
0 answers
14 views

CiviMail Scheduler job failing with "An error has occurred. DB Error: no database selected"

On a Joomla 3.10.2 and Civi 5.40.2 we've been struggling with a mailout that has an attachment (1.5mb). While I know bulk emails of attachments aren't good - this site has done this before without ...
user avatar
  • 530
0 votes
1 answer
16 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 == '...
user avatar
0 votes
1 answer
47 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. ...
user avatar
0 votes
1 answer
24 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
user avatar
  • 91
2 votes
1 answer
66 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 ...
user avatar
  • 2,846
1 vote
1 answer
61 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:...
user avatar
  • 113
1 vote
2 answers
30 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: ...
user avatar
3 votes
2 answers
56 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 ...
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 ...
user avatar
0 votes
1 answer
24 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 ...
user avatar
  • 21
0 votes
1 answer
77 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 ...
user avatar
1 vote
2 answers
47 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 ...
user avatar
  • 3,202
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 ...
user avatar
  • 1
1 vote
1 answer
46 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 ...
user avatar
  • 1,146
1 vote
2 answers
49 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 ...
user avatar
  • 1,007
4 votes
3 answers
67 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 ...
user avatar
  • 2,904
1 vote
1 answer
34 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/...
user avatar
  • 31
1 vote
0 answers
30 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 ...
user avatar
  • 2,846
3 votes
1 answer
35 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 ...
user avatar
  • 2,846
0 votes
1 answer
63 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
28 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.
user avatar
  • 471
3 votes
2 answers
149 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 ...
user avatar
  • 2,846
3 votes
1 answer
26 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 ...
user avatar
1 vote
1 answer
32 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 ...
user avatar
  • 13
2 votes
0 answers
80 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 ...
user avatar
1 vote
0 answers
52 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 ...
user avatar
  • 3,137
1 vote
1 answer
35 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 ...
user avatar
1 vote
1 answer
85 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/...
user avatar
  • 31
3 votes
2 answers
277 views

CV Scheduled jobs not firing from cron

I am attempting to use CV to call job.execute to run my scheduled tasks as described in the CiviCRM Documentation. I am using Drupal 7. I have several independent sites running on the server. It ...
user avatar
  • 323
0 votes
1 answer
40 views

Email Greeting Updater in scheduled jobs failed

Running Drupal 7 with CiviCRM 5.6.0. Noticed in BCC'd copies of confirmation emails for an event that some records have a blank "Email Greeting" field since the template is addressing {contact....
user avatar
  • 103
1 vote
1 answer
46 views

How to debug the API Action process_mailing?

Drupal Version:7.59 CiviCRM Version:5.3.1 I am facing an error of incorrect Links in Emails sent via scheduled mailings. The HTML is <a href="https://example.com/sites/example2.com/files/abc.pdf"&...
user avatar
  • 831
1 vote
0 answers
27 views

Scheduled jobs running but not successfully updating

I have just updated to CiviCRM 5.4.1 and system status says the cron is running OK. However, the member statuses and the scheduled reminders are not being updated. These jobs were being run ...
user avatar
3 votes
1 answer
71 views

Is there a way to update the contact.addressee field in batches?

I have about 50,000 contacts to update and I have a scheduled update greeting job set up (based on this post Update addressee values for all contacts after modifying Addressee Type Options - thanks ...
user avatar
  • 2,416
1 vote
1 answer
48 views

wp-cli and job.execute

I'm trying to follow the WP set up instructions for scheduled jobs https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/ using wp-cli I can't figure out if I have things working correctly or not! ...
user avatar
  • 367
1 vote
0 answers
99 views

Authentication error when running the "Fetch Bounces" scheduled job:

Parameters parsed (and passed to API method): a:1:{s:7:"version";i:3;} Full message: Finished execution of Fetch Bounces with result: Failure, Error message: A fatal error was triggered: Could not ...
user avatar
1 vote
3 answers
275 views

DB Error: connect failed when trying to call Job.execute using cli.php?

I've set up a new CiviCRM install on a new Drupal install and I'm trying to configure Cron using the instructions at https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/. I'm a complete newbie at ...
user avatar
0 votes
1 answer
57 views

report mailing date and time have expired

I can not send the mailing, in the report this message: "Delivery has not yet begun for this mailing. If the scheduled delivery date and time is past, ask the system administrator or technical ...
user avatar
0 votes
1 answer
48 views

manage new scheduled job

What should I put on this screen to make the cron work for mailing? I use wordpress 4.9.6 Thanks
user avatar
0 votes
1 answer
231 views

Crons are running but System Status is No cron runs have been recorded

Hosted (Linux) website on SiteGround + Joomla + CiviCRM Versions PHP 7.0.29; Joomla! 3.8.6; CiviCRM 4.7.31 Scheduled jobs are administered as documented Calling cron.php with curl Cron jobs are ...
user avatar