![]() When using cron.php you can only execute API from "job" entity. Refer to the list of all jobs in the User Guide to find the right API call. With all of the commands above, you can replace Job.execute with the API of the job of your choosing. CiviCRM's Scheduled Jobs interface does not allow this level of granularity and control. For example, maybe you want to run Job.mail_report on the first Monday of the month. CLIU.ORG OVERVIEW SOFTWAREIn the commands section above, we describe the various methods for executing the Job.execute API call, which in turn runs all the scheduled jobs necessary at that moment.īut if you want more control over the scheduling of your jobs you can use software like crontab to execute specific jobs. You can also use the Drush method below to call CiviCRM cron tasks. If you are using the Aegir hosting environment, with the provision_civicrm sub-module, you can automate the installation of a new cron for each site using the hosting_civicrm_cron module. In the examples below, replace with one of the following (using http or https as appropriate). The URL you need to call depends on the CMS you are using. You can use either the REST interface (as documented in the Developer Gude) or the cron.php (as documented below). If you don't have command line access to the server running CiviCRM, then you can set up a separate system to make HTTP requests to your server in order to execute the Job.execute API call. CLIU.ORG OVERVIEW PASSWORD
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |