Questions tagged [cron]

The tag has no usage guidance.

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

Cron not running since updating to 5.39.0

I updated to 5.39.0 on Friday, and upon logging in today I've discovered that cron doesn't seem to have run since. I've checked my host's cronlog, and it reports that the command has been sent, so I'...
0
votes
0answers
17 views

User Permissions For Running API Calls With CV in Drupal 9

I am trying to run a cv command for the CiviCRM API. My command looks like this /usr/local/bin/php /usr/local/bin/cv api job.execute --user=USER --cwd=/var/www My user is cron-user and when I use ...
0
votes
1answer
21 views

warning message from cron

This morning I started receiving a warning message from my regular cron job. Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/customer/www/crm.coma.org/...
0
votes
1answer
33 views

How to set Up a Cron Job

I am trying to set up the cron job, can't seem to get it to work. I keep getting invalid user/password. I am trying the HTTP method. I am using WordPress I am on a shared server.
0
votes
1answer
32 views

username and password invalid on cronjob setup through anacron on server control panel

I am trying to run all cron jobs at a one hour interval, but I keep getting "Could not open input file". my path: @hourly 0 my_php_script php -f /srv/data/web/vhosts/[mysite]/wp-content/...
0
votes
2answers
35 views

civicrm email scheduling

I scheduled an email to send at 9.40am and it actually sent at 9.49am which I assume is to do with how often the send mail cron job runs. Is there a way of actually getting an email to send at the ...
2
votes
0answers
47 views

Cron Job Not Running

I'm running WP 5.3.2 and Civi 5.34.0. I recently installed Wordfence free version on my site, but not sure if this has anything to do with my problem (disabled the plugin and the problem still occurs)....
1
vote
0answers
23 views

Cron job causes 504

The cron job on my site us using up many resources and ultimately causing a 504 error. I tested not passing a site key or passing the wrong site key and it ran succesfully with the error that the key ...
1
vote
1answer
10 views

How often does the Status Report expect Cron to run?

I am on CiviCRM 5.33.1. The system Status Report gives warnings like this, taken about 90 minutes later at 12:26. Cron is deliberately set to run slowly since this is a development system. How ...
0
votes
1answer
71 views

Command are running manually, but cron is not running

I'm running CiviCRM 5.32.0 on WordPress 5.6 hosted by Hostinger. 1st step I test cv.phar = php /xzy/wp-content/plugins/civicrm/civicrm/bin/cv.phar api Job.process_mailing --user=abcd --cwd=/xyz 2nd ...
0
votes
1answer
53 views

Wordpress Cron not Running

I am using the following method to get cron to work with wordpress. It has worked in the past but recently (around December of 2019) it stopped working. It hasn't become too big of a problem until ...
2
votes
1answer
55 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 ...
0
votes
0answers
29 views

System paths for HTML vs CLI/Cron

A client has had a site on Siteground for 3 years. It worked fine until they moved to a new server architecture and their own suite of management tools (swapping out CPanel for SiteTools). The site ...
0
votes
0answers
28 views

Cron Job Output Error with 5.31 on WordPress

Since updating from 5.29 to 5.31.0 on WordPress I am receiving the following error from my cron job: Fatal error: Uncaught Exception: : in /home/*hostname*/www/www/wp-content/plugins/civicrm/civicrm/...
0
votes
0answers
17 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 ...
3
votes
1answer
253 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
40 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
53 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
47 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
74 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 ...
1
vote
1answer
40 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
27 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
20 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
70 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
99 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
136 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
48 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
27 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
29 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
29 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
257 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
25 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
165 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
141 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
42 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
38 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
32 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
27 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
142 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
107 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
45 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
58 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
33 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
99 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
77 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
37 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
187 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
254 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 ...