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 Answers 2

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.

2
  • Do I need to have "-e Job" argument in there, too?
    – BruceW
    Commented Apr 13, 2015 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
    Commented Apr 13, 2015 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?

3
  • It appears to be the same as what I posted, eh?
    – BruceW
    Commented Apr 11, 2015 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
    Commented Apr 12, 2015 at 14:47
  • I think he was referring me to a long standing question I've had about that. No worries.
    – BruceW
    Commented Apr 13, 2015 at 7:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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