Questions tagged [cron]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

cv in cron works but also emails error

PHP 7.2, CiviCRM 5.30.1 and cv 0.3.4. Scheduled jobs are working, no errors in any of the job logs. The cron job, however, emails me: [Symfony\Component\Debug\Exception\FatalThrowableError] Call to a ...
2
votes
1answer
43 views

Why am I getting a warning about hook_civicrm when Civi's cron runs?

On Drupal 7.73 with CiviCRM 5.29.1. Every time the CiviCRM cron runs, I get the following warnings in the Drupal watchdog log. Each is a separate entry. hook_civicrm_alter_drupal_entities should be ...
0
votes
1answer
22 views

Why am I getting problems with username & password for WP cron?

I'm trying to set up cron in Wordpress (& I'm only familiar with Drupal). I have the following set up in cron which doesn't work, and when I paste the url into a browser I get 'ERROR: invalid ...
1
vote
0answers
37 views

Setting up Cron and CiviMail

CiviCRM is telling me I need to set up Cron jobs and CiviMail, but I've looked at the documentation and it's all Greek to me. How can I get help with setting these up? I'm using Wordpress with ...
0
votes
1answer
30 views

My cronjob fails to run my Civimail queue. What am I missing here?

This invocation now returns a result code of 0. And still I see no evidence that it ran my civimail, in the browser UI, at /civicrm/mailing/browse/unscheduled, nor in the logs at /civicrm/admin/joblog,...
0
votes
1answer
35 views

CiviMail cron job unable to find: civicrm.config.php, built with: roundearth/drupal-civicrm-project

My next issue is this: attempts to push out a civilmailing result, as reported by /civicrm/admin/joblog, with this error: 'API permission check failed for Group/get call', . . . 'insufficient ...
0
votes
0answers
16 views

Should setting up cron be added to the Configuration Checklist?

I'm using CiviCRM version 5.25 and Drupal version 7.70. I'm creating Scheduled Jobs to run, and/or enabling built-in and recommended Scheduled Jobs. However, those will only run if I have set up ...
1
vote
1answer
21 views

Cron Job User Permissions

Is it possible to run a cli.php without user and password if cron owner has sufficient privileges? Having added it my Joomla dashboard is over run with entries for the cron user logging in. The user I ...
3
votes
0answers
25 views

Why is my cron run failing following a database move?

I've got a Civi/Wordpress install. Originally all of the codebase was in a directory called dev. When it was ready to go live I moved everything to a directory called default, and I went through all ...
0
votes
1answer
16 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 ...
1
vote
2answers
29 views

cli.php can only be run from command line

Using WordPress 5.4 and CiviCRM Version 5.18.4. Hosting with InmotionDirect, managing via Cpanel. Trying to follow the instructions to set up our cron job. I got the command line to work, finally, ...
0
votes
1answer
56 views

Cron ERROR: Invalid username and/or password (Wordpress)

Our cron has worked without issue then all of a sudden it stopped and provided the error: Civi 5.23.3 WP 5.3 When the cron runs - I get the following: ERROR: Invalid username and/or password My cron ...
1
vote
0answers
34 views

Why is there a “session_set_save_handler” warning whenever Civi cron runs?

I am using CiviCRM 5.23.4 with Drupal 7.69, though this issue is not new to this version of Civi. Every time Civi cron runs, I get a warning in the Drupal Recent log messages: Warning: ...
0
votes
1answer
39 views

My custom reports work fine, but mail_report fails

All of my custom report mail_report jobs give this error, both through cron and when triggered manually: "Did not find valid instance to execute" The report is defined as class com_foo_bar ...
0
votes
1answer
25 views

Cron Job Diagnostics

WordPress Version: 5.3.2 CiviCRM - Version 5.21.1 Shared Hosting - Dreamhost I have tested this string in ssh: /usr/bin/wp --user=username --url=https://mysite.org --path=/home/username/mysite.org/...
1
vote
0answers
24 views

Mailing job never finishes, but restarts at next cron cycle

After upgrading to 5.17.4 under Joomla, the next large CiviMail job did as follows: It never completed and had to be cancelled It reported zero successful deliveries, though it did report opens At ...
1
vote
1answer
27 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/...
3
votes
1answer
134 views

What is the easiest way to set up cron for CiviCRM on a Drupal 7 installation?

I have created a test instance of CiviCRM that uses Drupal 7 as the CMS. It's running inside a Ubuntu Desktop virtual machine that has a LAMP stack installed on it (Apache2, php7.2 and mySQL). I am ...
1
vote
0answers
21 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 ...
1
vote
0answers
25 views

CiviMail Authentication Issues when run by Cron - SOLVED - Sharing Information

I was working through a strange issue where emails were bouncing with varying issues like syntax, relay etc. But it felt random. What it came down to is that all mailings via cron (cv api job.execute) ...
2
votes
2answers
111 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
2answers
97 views

cron on drupal8: can't handle separate paths for vendor and library

The Sysadmin guide lists several methods to run the internal cron. On the previous site we used the http method, but now on drupal8 neither this nor calling cli.php works. It seems a bit obvious, ...
1
vote
1answer
37 views

Server Security Update Breaks Cron

A recent security update from our host has resulted in cron throwing out the following errors: PHP Warning: ini_set() has been disabled for security reasons in /.../public_html/wp-content/plugins/...
1
vote
0answers
34 views

CiviCRM Says Cron Job Not Running But It Is

The pop up message in CiviCRM says the Cron is not running, but the Admin Page states it is. CiviCRM v5.16.2 on WordPress.
2
votes
1answer
31 views

CiviRules update interfering with another plugin?

Yesterday, I updated the CiviRules extension to version 2.8, then did the database update. Immediately afterward, I began getting error emails each time the cron job runs. I have in place a hack to ...
1
vote
1answer
26 views

Processed as Activity: Cron job output

Recently we have had our cron email us anytime there is an output as typically that only occurs when there is an email. Processed as Activity: Cron job output - I have the same cron running on other ...
0
votes
2answers
121 views

Problems setting up cron

Civi 5.14 on WordPress 5.0 Hello, I have installed and am configuring Civi for a new client. He is on Inmotion Hsosting and civi is installed in a subdomain. I am having problems getting cron to ...
1
vote
1answer
97 views

OVH: Cron not detected by CiviCRM

I'm working on a drupal website with a CiviCRM platform which is hosted by OVH. My cron seems to be working, but CiviCRM is not detecting it. Is that normal ? Thanks in advance for your advices.
0
votes
1answer
40 views

Cron job has started producing output

I have a cron job /www/www/job.execute.sh That runs the civiCRM scheduled tasks: #!/bin/sh drush -r /home/crwheelmen/www/www --quiet civicrm-api job.execute This has been running successfully ...
1
vote
1answer
55 views

blank emails from cron after upgrade Wordpress

Since I upgraded to Civi 5.11 (from 4.7) I am seeing empty emails from the cron daemon every time it runs the scheduled jobs. Previously I have only had emails when there has been some issue with the ...
1
vote
0answers
29 views

When running cli.php it hangs and never completes

Running Cli.php was working with command line as well as though cron. However it now just hangs and uses cpu but never completed. Schedule jobs do run and execute if used execute now on the admin ...
2
votes
2answers
88 views

Failed loading “ioncube_loader_lin_7.2.so” Cron Error after CiviCRM & WordPress Upgrades

I very recently upgraded from CiviCRM 5.6.1 to 5.10.4 and WordPress 4.9.9 to 5.1. Since then I get the following Cron error. Failed loading /usr/local/ioncube/ioncube_loader_lin_7.2.so: /usr/local/...
2
votes
0answers
73 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 ...
2
votes
1answer
36 views

Cron through cli.php

I am trying to set up the cron job through the cli.php method following the CiviCRM Docs. Running the command from my ssh session on the server as www-data user, I am getting the error: could not ...
1
vote
2answers
157 views

Can't get Cron to run on WordPress CiviCRM via Dreamhost - am I doing it right?

Could anyone with more knowledge let me know if I'm doing this setup right. I am on a Dreamhost VPS server. What I'm trying to do is setup a Cron so the Automatic Schedules/Reminder in our ...
1
vote
1answer
210 views

Issues with cron job - Wordpress

I'm on a shared hosting solution that I just moved over to. After the move, I did an upgrade to the newest CiviCRM version but left WordPress intact (no upgrade). Scheduled cron jobs were working fine ...
0
votes
2answers
58 views

For some reason, cron doesn't work. On CMS joomla

For some reason, cron doesn't work. On CMS joomla The system thinks that it works, and shows in the status that everything is fine, but mailings are not sent at the same time. Cron settings on the ...
2
votes
1answer
60 views

Problem with process_mailing

Using Drupal 7 and Civi 5.7.0 When sending batch emails using CiviMail, if I select "Administer CiviCRM » Scheduled Jobs" and select "Process now" on the "Send Scheduled Mailings" job then the ...
0
votes
1answer
86 views

Joomla Cron not finding setting files

Running Joomla 3.9.0 Civicrm 5.7.0 PHP 7.0.2 Recently update Civicrm to 5.7.0 - Prior version and my cron job was working fine. Now it hasn't run since November 7th Run cli.php php /var/www/clients/...
1
vote
1answer
31 views

Cron not running

how can I fix this one? Thanks in Advanced]1
1
vote
1answer
52 views

recent CRON error on WP - after upgrade to 5.6.x

Recently updated to 5.6.1 (skipped a couple of the 5.x versions but the rest of the upgrade seems to have been successful). Running WP 4.9.8 / php 7.1.5 After the update I started getting 'Cron not ...
1
vote
2answers
120 views

What's the right crontab entry for running cv?

I'm trying to get cron to run cv. Putting this in crontab: */5 * * * * /usr/local/bin/cv api job.execute --user=harrumph produces... Failed to locate civicrm.settings.php. By default, this tool ...
1
vote
1answer
108 views

Upgraded to 5.3.2 from 5.3.1, now warning Cron not running - log shows it is at 10 minute intervals - Ignore?

Running on Wordpress 4.8.7. No problem with Cron on 5.3.1, but right after upgrading we're getting warning that cron is not running. "Cron Not Running- Last cron run at July 28th, 2018 3:20 PM." ...
2
votes
2answers
100 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 ...
0
votes
1answer
85 views

CiviCRM reports Cron not running, but my web host is adamant that it is

I'm using the cli.php method to run cron as described in the System Administrator Guide. I am able to run this command from ssh, and it seems to execute fine: php /var/sites/c/<mydomain>/...
1
vote
3answers
192 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 ...
0
votes
1answer
49 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 ...
0
votes
1answer
39 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
-2
votes
1answer
55 views

CRON RUNNING OK?

I write for problem "cron not running" I use wordpress 4.9.6 and civiCRM 5.1.2 Perhaps no quotation mark is required: wget -O -q -t 1 https://my-site/wp-content/plugins/civicrm/civicrm/bin/cron.php?...
1
vote
2answers
115 views

cron setting in cPanel error

I use wordpress 4.9.6 and civiCRM 5.1.2 for wordpress in my cPanel: string command: https://mysite/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=username&pass=password=curl '[string site-...