use new crontask feature

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@92 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
remicollet
2009-09-03 16:42:42 +00:00
parent c3b74fddcc
commit 15b8a6cdf8
2 changed files with 30 additions and 10 deletions

View File

@ -98,9 +98,6 @@ function plugin_init_example() {
$PLUGIN_HOOKS['item_transfer']['example'] = 'plugin_item_transfer_example';
// Cron action
$PLUGIN_HOOKS['cron']['example'] = DAY_TIMESTAMP;
//redirect appel http://localhost/glpi/index.php?redirect=plugin_example_2 (ID 2 du form)
$PLUGIN_HOOKS['redirect_page']['example']="example.form.php";