You are not logged in.
Pages: 1
Dears,
about on glpi and fusion, now have new option with crontasks:
example:
assets --> crontasks
or
assets --> host --> cron tasks option:
Link:
https://YOUR_SERVER/glpi/plugins/fusioninventory/front/crontask.php
But I don't have idea as execute this tasks:
My examples:
##########################
##########################
# My code examples:
Cron tasks
Name
test cron (save) backup --> Somente p/ copiar
Enabled
yes
Command
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/tmp
echo 'test' >> /tmp/teste.file
Execution user
root
Storage
Storage user
Minute Hour Day Month Year Week day
*/1
*
*
*
2022
*
Creation Date
22-06-2022 11:40:06
Computer
example
###########
I tried with php code too.
#!/usr/bin/php
<?php
//create text file
touch("abc.txt");
?>
When I try run with fusioninventory-agent this job doesn't execute. Any idea or more info or doc?
Last edited by spinal_df (2022-06-23 17:04:07)
Offline
Pages: 1