Questions tagged [cron-job]
The cron-job tag has no usage guidance.
153 questions
7
votes
2
answers
1k
views
Cron sending reports weekly
Sending reports by email is a really nice feature in CiviCRM. This is done by creating a specific cron job for each report.
However, this will be sent only at the intervals given. And they are "daily"...
7
votes
2
answers
191
views
How can I get more details about a Scheduled Jobs failure?
I have discovered that I have had the "Disable expired relationships" job producing the following error. Triggering the job manually yields the same result.
How can I find out more information about ...
7
votes
2
answers
496
views
Can CiviMail send multiple mailing jobs concurrently?
The CiviMail documentation and settings pages indicate that it is possible to have multiple mailer delivery jobs executing simultaneously.
See Settings - CiviMail (/civicrm/admin/mail?reset=1) :
...
5
votes
1
answer
520
views
civiCRM Cron only run one mail_report scheduled jobs?
I'm using CiviCRM 4.4.6 in drupal 7.
In my scheduled jobs list, I had 3 scheduled jobs of membership report: report A, report B, and report C. These reports will send out email with different csv ...
5
votes
1
answer
234
views
Does anyone have a working example for CiviMail bulk emails on Wordpress and 4.7.x
Do you have a CiviCRM installation with bulk email working on the latest wordpress and CiviCRM 4.7.x, using a cron job set up in cPanel? I have been unable to get cli.php or wp-cli.php to work ...
5
votes
3
answers
351
views
Cron error after upgrade to 4.7.1
Upgraded from 4.6.11 to 4.7.1 and now this this error when running /wp-content/plugins/civicrm/civicrm/bin/cron.php
Fatal error: Uncaught exception 'Exception' with message 'Function
"is_admin()" ...
5
votes
1
answer
90
views
Mailer not working
The automated mailer on CiviCRM does not seem to be working. The scheduled emails are not going out. When I test the system I get the test mail OK but that's about it. Have double checked all obvious ...
4
votes
5
answers
281
views
Difficulty setting up CiviMail on Bluehost
I'm following the instructions here:
http://wiki.civicrm.org/confluence/display/CRMDOC/CiviMail+Installation
and I've been running into some obstacles.
1) Bluehost does not support sub-addressing ...
4
votes
2
answers
916
views
Cron job with shared hosting CPanel
I've tried different ways to setup cron jobs.
When using that cron job, the file is not able to read the parameters (like key, etc.)
/usr/bin/wget -O - -q -t 1 http://www.site.org/wp-content/...
4
votes
2
answers
455
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 ...
4
votes
4
answers
185
views
why is the percentage of successful deliveries greater than the intended recipients in civi mailing report?
I have started experiencing some problems with bulk mailing, for at least 3 mailings the mailing report shows successful deliveries greater than the intended recipients. I have checked the detail ...
4
votes
1
answer
176
views
cron jobs process_membership, send_reminder and process_membership_reminder_date
I want to send out membership reminders 6 weeks, 3 weeks, etcetera before membership lapses. To send them out, i see multiple cron jobs:
process_membership, named Update Membership Statuses and Send ...
4
votes
1
answer
71
views
Possible cause? CiviMail sent "400%" of queued messages, hit each recipient 4 time
On a well established site that uses CiviMail and Groups for a range of mailing lists, a message was sent out this morning as usual to a list of over 1400 people.
Inexplicably, each recipient ...
4
votes
1
answer
288
views
Changing directory permissions to get Cron to work via drush
Here's my core question: Is it ok to allow full write access to Users, Groups, and Others for the directory sites/default/files/civicrm/templates_c/en_US ?
Background:
I have been running CiviCRM ...
4
votes
1
answer
197
views
Unable to send mass SMS or Mailing
I'm trying to setup Mass SMS and Mailing and seem to be running into some problems. I can send mail and SMS directly to an individual but the scheduled SMS and mail does not work. I know this has to ...
3
votes
2
answers
463
views
Why does CiviMail stop sending after the first 1,000 messages?
We have about 30k recipients in our lists and every time we send a mailing (New Mailing - Submit Mailing - Schedule Jobs - Execute Process Mailing) it stops after 1000 messages. We usually have to ...
3
votes
5
answers
706
views
Email-to-activity processing - Error message: Process Activities failed
Have installed CiviCRM 4.6.4 on Drupal 7.38 and have explored the various modules to identify how it can be used to help a small UK charity.
I am having issues with email-to-activity.
I set it up to ...
3
votes
3
answers
245
views
Has anyone run into scheduled jobs drifting on Centos7?
We're only seeing this for projects on one specific server (running Centos7; using chrony; PHP 5.6.21). We are NOT seeing this for projects on our other server (running Centos6; using ntpd); Working ...
3
votes
2
answers
73
views
All scheduled jobs disappeared
In my multi site installation all my scheduled jobs have disappeared. I don't know when, but most likely after an update.
Is there an easy way of restoring all the standard scheduled jobs that are ...
3
votes
2
answers
451
views
Can I set a daily Scheduled Job to run at a specific time of day?
I have a scheduled job, iATS Payments Recurring Contributions, set to run daily. Currently, the job fires off right after midnight every day. However, we need it to happen later -- say, around 3am.
...
3
votes
1
answer
275
views
Geocoding scheduled job failure
When running the Geocoding/parsing scheduled job (CiviCRM 4.6.10/Drupal 7) I get the following error message:
Full message:
Finished execution of Geocode and Parse Addresses with result: Failure,...
3
votes
2
answers
148
views
Civimail is not sending scheduled mailings, could it be Cronjob syntax or Bluehost?
Relevant set-up information:
Hosting: Bluehost Shared Hosting
CMS: WordPress
CiviCRM version: 5.25.0
Here's what works:
Sending email from via "Contacts > New Mail"
Sending a test mail ...
3
votes
2
answers
82
views
Is this scheduled cronjob setup correctly?
I set up this cronjob. Does this cover whatever I set in the GUI Scheduled Jobs? Or, do I need to set up a cronjob for each? If for each, what is the purpose of this GUI?
As per Scheduled Jobs:
...
3
votes
2
answers
979
views
Scheduled Jobs not running
I can only get scheduled jobs to run manually, with the "Execute now" button. Hourly won't work let alone with an external method like php.cli method. Is there a way to troubleshoot this? I ...
3
votes
1
answer
117
views
Trying to get external cron working
I'm trying to get the external url-based cron to run and I keep getting fatal errors. I don't really want to debug the PHP code. Can anyone help me?
The URL I use has the correct username, password ...
3
votes
1
answer
102
views
Strange consistent log notices. Where do they come from?
I haven't tried asking on stackexchange before (only the old forums), so please excuse me if I do it in the wrong fashion... I did google this, but couldn't find anything that helped me remove these. ...
3
votes
2
answers
479
views
CiviCRM cron job not processing scheduled jobs
CiviCRM 4.6.0
I have tried setting up the cron job to process the mailing scheduled job using both the php cli method and the URL with wget.
In the first case, I can get the cli.php to run from the ...
3
votes
1
answer
42
views
will a scheduled reminder be sent after the specified date, if it hasn't been sent before?
Suppose, on a running installation, I add a reminder to be sent 1 day after membership end date.
Will this reminder suddenly be sent to all members that expired eg. in the last year, because they ...
3
votes
1
answer
50
views
What is the significance of event_queue_id in civicrm_mailing_event_delivered table?
I generally find that the event_queue_id and id values are same for all the tuples in the civicrm_mailing_event_delivered table. Why do we need a separate event_queue_id then? Can two tuples in this ...
3
votes
2
answers
71
views
The cron job "Activity processor (Hourly)" fails
The cron job "Activity processor (Hourly)" has started failing for no apparent reason with the message "Failure, Error message: Process Activities failed" in the job log, although the message coming ...
3
votes
1
answer
378
views
Unable to Connect to MailStore for Bounce Processing
Tested on Wordpress 4.7.3 and Joomla
CiviCRM 4.7.16
We've set up a domain for all Civi-related mail processing for our CiviCRM clients for whom we provide site management. For one account we are ...
2
votes
4
answers
372
views
Extension Manager fails and so do certain scheduled jobs
I am using civicrm ver. 4.6.2 on Drupal 7; PHP version is 5.3.29, safe mode is off and open_basedir is not set:
When I try to upgrade through extensions manager I get:
WARNING: The downloader may ...
2
votes
2
answers
128
views
process_mailing processing addresses when called in UI but not CRON
CiviMail scheduled e-mails are not being triggered automatically through CRON. Using the same user with the same permissions, I get the following in the log when triggered through the Scheduled Jobs ...
2
votes
2
answers
59
views
Batch create relationships
We have 2 relationship types : A and B. We have about 500 contacts with A-relationships already set, and for each we need to create a B-relationship with the same contact. For example :
We already ...
2
votes
2
answers
2k
views
Cron not working after forcing https
TL;DR: Does anyone know why forcing https would break CiviCRM's cron jobs?
A few days ago, I edited my .htaccess file to rewrite URLs to always use https, using the following code:
RewriteEngine On ...
2
votes
1
answer
36
views
$EventID is string, not int
I'm having issues with the scheduled reminder function. I have set up an email to be sent out 96 hours before the event start date. When configuring the reminders, the system throws errors in the cron ...
2
votes
1
answer
70
views
Long running Scheduled Job
In the Areas extension (https://lab.civicrm.org/extensions/org.civicoop.areas) an administrator can define areas such as West Coast and a contact living in a city in West Coast is linked to the area ...
2
votes
2
answers
79
views
How to setup cron for updating membership statuses in cPanel
How do I setup cron (via cPanel) to execute, specifically membership statuses? I.e. I know how to get to cPanel's cron management, but not sure how I tell that cron management tool to execute the ...
2
votes
1
answer
195
views
Problem processing inbound emails to activities
Using Civi 4.6.10 and Drupal 7, when running the scheduled job to process inbound emails I'm constantly seeing the following error:
Dec 31 13:39:53 [info] $Fatal Error Details = Array
(
[message]...
2
votes
2
answers
84
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&...
2
votes
1
answer
84
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 ...
2
votes
2
answers
360
views
Very New To Cron - Setting Up Schedule Jobs with Dreamhost
I'll try to be as thorough as I can while getting straight to the point.
I am brand new to the idea of using WP-CLI, SSH, and Scheduled Cron jobs. Everything is Greek to me, so I am in desperate need ...
2
votes
1
answer
300
views
Safe to run cron jobs using wget and user with full admin rights?
I recently set up cron jobs with CiviCRM using wget url method through Cpanel. I set up an administrator account and used that accounts username and password. My concern is if there is any security ...
2
votes
2
answers
427
views
Error: Cron Not Running
For several months we have been seeing the error "Cron Not Running". I have repeatedly configured crontab for the root user, and currently have the following:
0 * * * * wget -O - -q -t 1 https://<...
2
votes
1
answer
92
views
Cron failing after 4.6.16 upgrade
Platform: Wordpress 4.5.2 |
PHP version: 5.5.9 |
Mysql: 5.6.30 |
Running: Ubuntu 14.04.4
Yesterday I successfully upgraded to CiviCRM 4.6.16, no errors during upgrade, everything went smoothly, ...
2
votes
1
answer
1k
views
How do I set up a cronjob to run scheduled jobs?
I have a Joomla 3.3.3 installation with CiviCRM 4.6.10 and Siteground is my host. I have never set up a cronjob before. I have tried to use Sitegrounds Cronjob tool in cPanel which uses Linux commands ...
2
votes
1
answer
159
views
Delivery has not yet begun for this mailing
when i send mail (Mailing-> New Mailing) the mail won't send and i get this message when i view the mail report
Delivery has not yet begun for this mailing. If the scheduled delivery
date and ...
2
votes
1
answer
296
views
cron.php error with joomla 3.4 uri.php
I'm running civicrm 4.4.19 with Joomla 3.4.4. Sometime back in September my scheduled crons stopped running. Debugging shows that it is throwing an error of:
Fatal error: Class 'Joomla\Uri\Uri' not ...
2
votes
1
answer
78
views
How do I identify a Cron Job?
I scheduled a CiviMail but it hasn't gone out yet even though the scheduled time has past. When I ask for a report it says:
Delivery has not yet begun for this mailing. If the scheduled delivery ...
2
votes
1
answer
242
views
Cron job fatal error - scheduled emails won't send. AddThis 5.0.7 issue
I updated AddThis for Wordpress 4.0.7 to AddThis Sharing Buttons 5.0.7 and scheduled emails stopped sending. I determined that the cron job was getting a fatal error.
Job path - "https://www.xxxxxx....