DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

J has posted 6 posts at DZone. View Full User Profile

CiviCRM Find code from Scheduled Jobs web interface

  • submit to reddit
Look at the list of Scheduled Jobs: http://<base_url>/civicrm/admin/job?reset=1
Take note of the line labelled "API Action"
In your codebase, look at the file <civicrm_base>/api/v3/Job.php
Search for the function with the "API Action" line's name
The file you're looking for is in the require_once line, and the function name is the one called.

Note: CiviCRM revamped its Scheduled Jobs (cronjobs) system in version 4.1.  This snippet applies to post-4.1 code only.