Questions tagged [scheduled-job]
The scheduled-job tag has no usage guidance.
105
questions
0
votes
0
answers
15
views
Scheduled Jobs are NOT being triggered by cron
The other day I upgraded from Civi 5.54 (or 55) to 5.58.1. That seems to have coincided with scheduled jobs failing to run, and Civi giving the error "Cron not running." The server cron job ...
1
vote
0
answers
35
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 ...
2
votes
2
answers
53
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&...
3
votes
1
answer
13
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 ...
0
votes
1
answer
22
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 ...
1
vote
1
answer
36
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 ...
1
vote
1
answer
88
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 ...
1
vote
1
answer
21
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 ...
1
vote
0
answers
24
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 ...
1
vote
1
answer
15
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 ...
0
votes
1
answer
14
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 ...
0
votes
0
answers
20
views
nativecode=1525 ** Incorrect DATE value: '' INSERT IGNORE INTO civicrm_tmp_e_gccache_
There is something with empty data values in MySQL. Have tried to rebuild corresponded smart Group criteria (Membership Since Date: NOT NULL) - no dice.
Is this something to be fixed on CiviCRM level ...
0
votes
1
answer
17
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 ...
0
votes
1
answer
43
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 ...
0
votes
1
answer
22
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 ...
1
vote
0
answers
10
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 ...
0
votes
0
answers
29
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 ...
1
vote
2
answers
62
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: ...
2
votes
1
answer
57
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.
...
1
vote
1
answer
67
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:
...
0
votes
2
answers
320
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 ...
1
vote
2
answers
112
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&...
0
votes
1
answer
20
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 == '...
0
votes
1
answer
55
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. ...
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
2
votes
1
answer
69
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 ...
1
vote
1
answer
91
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:...
1
vote
2
answers
34
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: ...
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 ...
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 ...
0
votes
1
answer
27
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 ...
0
votes
1
answer
99
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 ...
1
vote
2
answers
73
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 ...
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 ...
1
vote
1
answer
52
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 ...
1
vote
2
answers
57
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 ...
4
votes
3
answers
70
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 ...
1
vote
1
answer
36
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/...
1
vote
0
answers
38
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 ...
3
votes
1
answer
40
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 ...
0
votes
1
answer
69
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 ...
1
vote
1
answer
31
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.
3
votes
2
answers
151
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 ...
3
votes
1
answer
35
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 ...
1
vote
1
answer
38
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 ...
2
votes
0
answers
84
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 ...
1
vote
0
answers
54
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 ...
1
vote
1
answer
37
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 ...
1
vote
1
answer
115
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/...
4
votes
2
answers
317
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 ...