12 votes
Accepted

Cron sending reports weekly

You can set up cron jobs besides the main one driving all the scheduled jobs on the Scheduled Jobs page. The way to do it is explained at http://wiki.civicrm.org/confluence/display/CRMDOC/Managing+...
  • 7,387
8 votes

civiCRM Cron only run one mail_report scheduled jobs?

You have to create 3 instances of the mail_report scheduled job. To do that, use Add New Scheduled Job button on the Settings - Scheduled Jobs page (civicrm/admin/job?reset=1) On the creation page, ...
  • 2,321
6 votes

Extension Manager fails and so do certain scheduled jobs

I was able to reproduce your issue and fix it on my Linux install. It seems to only happen with Linux, not MacOSX. I can fix it by changing the filename of the job to be first letter caps only, i.e. ...
  • 6,430
6 votes

Why does CiviMail stop sending after the first 1,000 messages?

Did you setup the cronjob? http://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs It's the usual behavior of civicrm to send 1000 mails per cronjob. After that it waits x Minutes ...
  • 213
5 votes

Trying to run Civi cron Jobs using Drupal cron?

Just to summarize all the places to look. If you've chosen to try to run CiviCRM cron from Drupal, you need the civicrm_cron module. Then in the Elysia Cron settings: admin/config/system/cron/settings ...
  • 500
5 votes
Accepted

Can I set a daily Scheduled Job to run at a specific time of day?

The solution is to exclude the iATS job from the "normal catch all" cronjob (so don't put it to run automatically daily) Then add a line on your cron to run it at 3 am 0 3 * * * www-data nice -n19 /...
  • 10.1k
4 votes

Cron sending reports weekly

As noted there are various ways documented for scheduling jobs. At our organisation we wanted an easy way to allow our users to set up scheduled email reports and came up with a shared Google Sheet ...
  • 233
4 votes

Cron Job configuration error

The error seems to come from something unrelated to civi: plugins/section-widget/olt-checklist/loader.php Can you try to disable this plugin and see if it works?
  • 10.1k
4 votes
Accepted

All scheduled jobs disappeared

All schedule job get saved against civicrm_job. So, by restoring civicrm_job table you can get all the schedule jobs back - If you are looking for just the standard schedule jobs then try to install ...
  • 3,169
4 votes

Email-to-activity processing - Error message: Process Activities failed

So after plenty of back and forth, the issue seems to be the fact I am specifying a Source folder in my IMAP account. When I created a brand new account for testing, found same issue with a folder ...
  • 71
4 votes
Accepted

Geocoding scheduled job failure

It looks like you have may not have set a command parameter in the Scheduled Job (but maybe you're adding it when you run the job via URL?). Do you have geocoding=1 in your command parameters for "...
4 votes
Accepted

CV Scheduled jobs not firing from cron

Ok so this may seem like a silly issue to some but after some messing around I figured out cron didn't have access to the path where CV was installed so to fix it the crontab entry had to be changed ...
  • 317
3 votes

How do I find the mails belonging to a particular mailing by looking at the SQL tables?

The event_queue_id points to a row in the event queue table which has a job id associated with it. The mailing job table is a join table which matches a job to a specific mailing. Check the civimail ...
  • 3,803
3 votes

How do I find the mails belonging to a particular mailing by looking at the SQL tables?

Try the civicrm_mailing_recipients table - mailing_id tells you which Mailing they relate to. Is that what you are after?
  • 27.6k
3 votes
Accepted

How to send email from CiviCRM and Wordpress

Look at the wiki book CiviCRM user and administrator guide for setting up scheduled jobs and cron jobs. http://book.civicrm.org/user/current/initial-set-up/scheduled-jobs/
  • 2,923
3 votes
Accepted

cron jobs process_membership, send_reminder and process_membership_reminder_date

The first one, process_membership, goes around and updates the membership statuses. It's what sets a member's status to "expired" once the end date comes around. Once upon a time, it sent reminders, ...
  • 7,387
3 votes
Accepted

Possible cause? CiviMail sent "400%" of queued messages, hit each recipient 4 time

It was highly likely due to this issue which has now been fixed in 4.6.3: https://issues.civicrm.org/jira/browse/CRM-16251
  • 3,803
3 votes

Difficulty setting up CiviMail on Bluehost

Your cron script may not work as displayed because $PHP is not defined, and because PARAMS= -j -smydomain.org -u mailsender@mydomain.org -p xxxxxxxxxx -e Job -a process_mailing will not define $PARAMS ...
3 votes
Accepted

How can I get more details about a Scheduled Jobs failure?

I would recommend looking in two other places: The CiviCRM error log. This is to be found (for Drupal) in sites/default/files/civicrm/ConfigAndLog/CiviCRM.(long number).log The PHP error logs. This ...
3 votes

Batch create relationships

Here's a trick. Use the API to get relationships with one relationship type and chain an API call to create a relationship with the other relationship type. You have to explicitly say that the new ...
  • 7,387
3 votes

Why does CiviMail stop sending after the first 1,000 messages?

Check "Mailer Batch Limit" at CiviMail Settings /civicrm/admin/mail?reset=1. There must be zero if you want to be sent all mails at once.
3 votes
Accepted

Problem processing inbound emails to activities

Yes it sounds like it's hitting an email it doesn't know how to parse - see the code for that function formatMailPart() where it fails (https://raw.githubusercontent.com/civicrm/civicrm-core/master/...
  • 20.2k
3 votes

Server Error 500 when cron runs

I ran an update to Joomla 3.4.8 and it resolved the issue. There must have been a bug in Joomla 3.4.7 which caused the cron issue.
3 votes

Cron job with shared hosting CPanel

You may want to try creating a wgetrc file that contains all your values. Check the man page for wget as a reference.. Here's a wgetrc of mine: post-data=name=civicron&pass=<password>&...
3 votes
Accepted

Cron job with shared hosting CPanel

Thanks for helping. Looking at the log showed that everything after & was getting truncated. There should be "backslash" () sign before "and" (&) sign. /usr/bin/wget -O - -q -t 1 http://...
3 votes
Accepted

Does anyone have a working example for CiviMail bulk emails on Wordpress and 4.7.x

I found the problem. There was a breaking change in CiviCRM over the past year. We were just using the access CiviMail permission for the wordpress user used for sending bulk mail. But it turns out ...
  • 752
3 votes

Has anyone run into scheduled jobs drifting on Centos7?

I don't know if this is the case here, and it seems more regular than my experience, but my coworkers and I have seen cron jobs walk fairly regularly. (We're more commonly using Ubuntu 14.04 or 12.04,...
  • 7,387
3 votes

Cron not working after forcing https

The most likely causes for breakage with this change are: Cron job is pointing to HTTP only curl by default will not follow 302 redirects, while wget will. If you're using curl, it won't work ...
3 votes

No cron runs have been recorded (CiviCRM 4.7.25 on Wordpress 4.8?)

From your second image, I see that you have not yet set up cron for CiviCRM. The first entry in your crontab executes the Wordpress job. A second entry is needed to execute the CiviCRM job. Here are ...
  • 16.3k
3 votes
Accepted

Long running Scheduled Job

If you run the schedulded job as a cron job and don't use the http-method for the setup you will not face a php runtime timeout. We did have no issues with schedulded jobs running multiple hours.

Only top scored, non community-wiki answers of a minimum length are eligible