mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
[example] comments on cron_plugin_example
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@77 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
a7b91f511d
commit
fe8f065528
7
hook.php
7
hook.php
@ -648,7 +648,12 @@ function plugin_headings_example($type,$ID,$withtemplate=0){
|
|||||||
|
|
||||||
// Cron function : name= cron_plugin_PLUGINNAME
|
// Cron function : name= cron_plugin_PLUGINNAME
|
||||||
function cron_plugin_example(){
|
function cron_plugin_example(){
|
||||||
echo "tttt";
|
logInFile('example',"cron called\n");
|
||||||
|
|
||||||
|
// >0 : done
|
||||||
|
// <0 : to be run again (not finished)
|
||||||
|
// 0 : nothing to do
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user