3

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:

CIVI_ROOT="~/public_html/administrator/components/com_civicrm/civicrm"

PHP=nice -n19 /usr/bin/php

PARAMS= -j -s[domain] -u[user] -p[password] -a execute

*/1 * * * * cd $CIVI_ROOT; $PHP bin/cli.php $PARAMS

2

Yes, executing the standard cron job, which is the cron.php file as you have it, executes any and all jobs which are enabled on the CiviCRM » Administer CiviCRM » Scheduled Jobs page.

  • Do I need to have "-e Job" argument in there, too? – BruceW Apr 13 '15 at 7:15
  • Actually, I just noticed that this is not working. It will not fire the cron unless I put the user and password inline. Using the tokens is not working. – BruceW Apr 13 '15 at 7:19
1

Might want to check the answer here which is a bit detailed:

How Do I Fix Mail Send Stopping at 500 Sends?

  • It appears to be the same as what I posted, eh? – BruceW Apr 11 '15 at 20:47
  • I don't see why it's the same question--that other question is regarding the email job only--your question is about how to execute all the jobs. – Hershel Apr 12 '15 at 14:47
  • I think he was referring me to a long standing question I've had about that. No worries. – BruceW Apr 13 '15 at 7:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.