Skip to main content

Questions tagged [cron-job]

The tag has no usage guidance.

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

Running Cron job on Drupal 10 site with CiviCRM 5.79.1

When I run this command through SSH, it is executed properly drush \ -l https://www.instituutvlaamsevolkskunst.be \ --uid=3 \ civicrm:api job.execute \ --quiet When I add it to ...
Stefaan H's user avatar
0 votes
1 answer
16 views

How do you run "cv api job.execute" if the "templates_c" folder is being owned by daemons?

Have been trying to set up CiviCRM with Drupal 11 on AWS Bitnami LAMP instance. Got a filesystem ownership clash, where webserver user ("bitnami") can't access files and folders created by ...
yurg's user avatar
  • 2,186
1 vote
0 answers
52 views

Error Message On Mail Report Cron Job

This past weekend, we switched our hosting of CIVICRM from Siteground to Linode. Now, when we run the Mail Report CRON job, we are getting the following error. It appears that it is having difficulty ...
Margaret's user avatar
  • 121
0 votes
1 answer
48 views

help me with cron configuration

I can't get crontab to work. I entered these parameters from cpanel, where do I go wrong? SHELL="/bin/bash" */5 * * * * * /usr/local/bin/php /home/myname/public_html/wp-content/plugins/...
gilgi's user avatar
  • 31
1 vote
1 answer
183 views

cron breaks after upgrade 5.69.4 - php 8.2 (deprecated for ${var} in dp.php)

on our staging environment we upgraded to Drupal 10.2.0 - CiviCRM 5.69.4 - PHP 8.2.15 On the Plesk server for the domain there is a scheduled (cron) job created as: script path = httpdocs/vendor/bin/...
Paul Van Leemput's user avatar
0 votes
1 answer
57 views

Fatal error in MailingEventForward.php

I have this error in the cron job log: PHP Fatal error: Duplicate declaration of static variable $fields in .../civicrm/civicrm/CRM/Mailing/Event/BAO/MailingEventForward.php on line 236 This is a ...
Alberto Olivucci's user avatar
1 vote
1 answer
97 views

CV Does Not Work From Cron

I am having an issue in Amazon Linux 2 where I can run cv commands from the command line but I cannot run cv commands from cron. For example: /usr/bin/php /usr/local/bin/cv api job.execute --user=...
Steve's user avatar
  • 157
0 votes
0 answers
33 views

cron job with error php Warning - Undefined property: CRM_Core_DAO::$contribution_id

I'm curing a Joomla instance CiviCRM. Just updated from Joomla 3 to joomla 4.4.1 with CiviCRM 5.68.1. Updated too the server debian version from 11 to 12. configured cron task with cv version v0.3....
Christophe M.'s user avatar
2 votes
1 answer
32 views

cron job with error php deprecation - str_replace(): Passing null to parameter

I'm curing a Joomla instance CiviCRM. Just updated from Joomla 3 to joomla 4.4.1 with CiviCRM 5.68.1. Updated too the server debian version from 11 to 12. configured cron task with cv version v0.3....
Christophe M.'s user avatar
0 votes
2 answers
42 views

Mosaico template auto sending

I am trying to send out a Mosaico template on Civicrm. I have scheduled it on a certain day. However, I realise that the execution does not work. It is forever on the "Scheduled" state. I ...
Cas's user avatar
  • 83
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 ...
lbl's user avatar
  • 68
1 vote
0 answers
105 views

Cron fails for WP site on Pantheon - although EasyCron reports success

We are hosted on Pantheon.io and have a WordPress site with CiviCRM installed. The instructions from CiviCRM docs say, "In order for the scheduled jobs configured within the CiviCRM UI to run ...
Andrew Himes's user avatar
0 votes
1 answer
25 views

intermittent file not writable error

CiviCRM 5.62.1 / Wordpress 6.2.2 I have an intermittent error on the version check action as part of my cron. It'll run fine for a couple of days, then fail, then run again. I suspect an over ...
John Bradford's user avatar
0 votes
2 answers
30 views

WordPress Cronjob Oddities

WordPress v6.1.1 CiviCRM v5.59.2 So, my cronjob appears to work; however, there are some oddities in how it works and there are errors picked up in the email that is delivered. The oddities are as ...
Paul Williams's user avatar
0 votes
2 answers
684 views

Help with mariadb crash, out of memory error

I'm trying to track down the cause of an occasional mariadb crash on my server. The system is a Linode 4GB Ubuntu 22.04 instance running Wordpress 6.1.1, apache2 2.4.52, mariadb 10.6.11, and civicrm 5....
twowheeler's user avatar
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&...
Charlie Wilder's user avatar
0 votes
1 answer
49 views

Send scheduled mailing fails due to deprecated function CRM_Utils_Token::getTokenDetails

My send scheduled reminder cron job has been failing consistently. The log file shows about a dozen of these errors every time send scheduled reminders fails: [warning] Deprecated function ...
ajasper's user avatar
  • 84
0 votes
0 answers
28 views

Does this cron command run anything other than scheduled jobs?

I have an old drupal civiCRM site (4.7.. i know) that has recently started having issues completing this cron job: /sites/all/modules/civicrm/bin/cli.php -s SITEURL -u USER -p "PASSWORD" -e ...
user3016811's user avatar
1 vote
1 answer
121 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 ...
DaveP's user avatar
  • 11
0 votes
0 answers
30 views

Report not being sent

I have a simple report that should be sent once per day, Cron Jobs do work and if I force sending the related report it's sent. Looking at the log I can see that when I force the cron job then the ...
Guillaume Sorel's user avatar
0 votes
0 answers
53 views

Mail Reports scheduled job - Mailing Error

The Mail reports scheduled job was working fine until recently. We've not run any upgrades or installed any extensions for a few months now. Upon running the job manually, we get these errors: The ...
Sudesh's user avatar
  • 709
1 vote
1 answer
85 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 ...
Tobias Krause's user avatar
1 vote
2 answers
190 views

"Cron not running" message, but definitely is

There are a lot of questions here on the message "Cron not running", but I have failed to find one that actually describes how CiviCRM keeps track of this, which might help explaining what ...
thoni56's user avatar
  • 1,241
0 votes
1 answer
64 views

I need a complete idiots guide to creating the initial cron setup

I have found the guides for setting up the cron in CiviCRM. I cant understand anything. I am using Wordpress. can someone please give me a complete step to step for setting this up as I really don't ...
Dan's user avatar
  • 167
0 votes
1 answer
56 views

Cron job failing silently after update to 5.45.2

We upgraded to CiviCRM 5.45.2 on Joomla 3.10.5 and everything was working fine until we attempted to send a mailing to about 1000 recipients. The cron job started failing silently after that, with no ...
LMK Web's user avatar
  • 571
1 vote
1 answer
118 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: ...
Garry H's user avatar
  • 21
0 votes
1 answer
58 views

CVIVI CRM setup on Wordpress

Please can an expert assist me in setting up Civi CRM on wordpress. Cronjobs and mail I have done basic configurations, but not sure about cron jobs. Need also to add in new forms, and how to add them....
Brendon Bester's user avatar
1 vote
1 answer
33 views

Last two mass emails have failed to go out

The error message says something about configuration and “cron job”. I have never managed our organizations emails so I am clueless about how to fix the problem. Talk to me like a 5 year old. Our tech ...
Rachel O'Dell's user avatar
0 votes
2 answers
255 views

Setting up Cron jobs with wp cli

I am running civiCRM 5.39.0 on WordPress 5.8 I am attempting to set up the Cron jobs, using the Cli method. I am running the command from the root folder of the Wordpress install /www/parlemonde_330/...
Laurent Arnoult's user avatar
0 votes
2 answers
125 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 ...
Caroline B's user avatar
1 vote
0 answers
99 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 ...
Jennifer Bertha's user avatar
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
jagjeet's user avatar
  • 101
0 votes
1 answer
355 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 ...
rv91530's user avatar
  • 71
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 ...
Tapash's user avatar
  • 3,014
0 votes
0 answers
34 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/...
Vshura's user avatar
  • 339
1 vote
2 answers
54 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: ...
Webmaster COVS's user avatar
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 ...
Dwight Martino's user avatar
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 ...
commonpike's user avatar
  • 1,191
1 vote
1 answer
116 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 ...
Wallace's user avatar
  • 11
1 vote
2 answers
467 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, ...
David Hyman's user avatar
2 votes
0 answers
95 views

Scheduled Reminders

Wordpress (latest) v 5.4 and CiviCRM 5.23.0 Scheduled membership reminders are scheduled daily, have been and are still going out correctly as far as I'm aware. The log entries show the following ...
peterb's user avatar
  • 1,044
0 votes
1 answer
215 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 ...
themak's user avatar
  • 3,553
0 votes
0 answers
34 views

Deleting the Upload Folder at Specific Times

When we create an activity, we sometimes add files to these activities. The added files are mostly jpg, png or pdf files. However, these files have a single use. In other words, I do not need to keep ...
Fatih ATEŞ's user avatar
0 votes
1 answer
38 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/...
Chris's user avatar
  • 394
2 votes
2 answers
161 views

cron jobs stopped working under Joomla 3.9.13 and CiviCRM 5.18.4

I am involved with three CiviCRM instances, a live one under LAMP, Joomla 3.9.13 and CiviCRM 5.18.2, a test one under LAMP, the same Joomla version and CiviCRM 5.18.4 and a development environment ...
Stephen Palmstrom's user avatar
1 vote
0 answers
100 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 ...
Tapash's user avatar
  • 3,014
0 votes
1 answer
62 views

cron job stops running after upgrade to 5.17.4

After upgrading to CiviCRM 5.17.4 under Joomla the cron jobs that had worked happily before stopped. They didn't seem to be giving any error, but CiviCRM reported that they had failed to run. We ...
Stephen Palmstrom's user avatar
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 ...
Brandon's user avatar
  • 23
0 votes
0 answers
70 views

Issues with Cron Jobs in CiviCRM

we have been running Civicrm with cron jobs set up sucessfully for a couple of months without any problems until yesterday when we started getting emails with the following Warning: ...
user7275's user avatar
  • 145
2 votes
1 answer
48 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 ...
Norris's user avatar
  • 870