Closed (works as designed)
Project:
Elysia Cron
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2012 at 14:00 UTC
Updated:
24 Mar 2012 at 14:09 UTC
On the cron status page, some cron jobs have a nice descrition, such as:
search_cron Update search database index [run]
statistics_cron Reset day counts / Clean expired access logs [run]
How can i create one for my custom hook_cron() ?
I checked the code for the modules Search and Statistics, but cannot find it.
Comments
Comment #1
gotheric commentedYou have 2 ways:
- smarter: "hook_cronapi" to define job configuration (description, standard rule...). See API.txt in elysia_cron folder for more info.
- quickest: use hook_elysia_cron_description(). For example:
Comment #2
johnvThanx,
I'll use mymodule_cronapi(), to accompany mymodule_cron().