diff --git a/documentation/itop-tickets.htm b/documentation/itop-tickets.htm index ed4967d8d..9bfd506be 100644 --- a/documentation/itop-tickets.htm +++ b/documentation/itop-tickets.htm @@ -86,8 +86,10 @@ In order to ease the installation, all the background tasks have been grouped to

For more information about cron.php, check the iTop Wiki

Scheduling cron.php on Windows

    -
  1. Edit the file <itop root>/webservices/cron.params to set the credentials used for cronified tasks (requires administator privileges)
  2. -
  3. Edit the file <itop root>/webservices/cron.cmd, and set the relevant path for your installation of PHP. If you care about security, it is recommended to change also the path to the parameters file <itop root>/webservices/cron.params and move this file to a place where its content is not served by the web server.
  4. +
  5. Copy the file <itop root>/webservices/cron.distrib to <itop root>/webservices/cron.params (requires administator privileges)
  6. +
  7. If you care about security: move the file <itop root>/webservices/cron.params into a directory not in the scope of the web server (Apache), and make it be readable only by the account that will execute the cron
  8. +
  9. Edit the file cron.params to set the credentials used for cronified tasks
  10. +
  11. Edit the file <itop root>/webservices/cron.cmd, and set the relevant path for your installation of PHP.
  12. Schedule the execution of cron.cmd:
    schtasks.exe /create /tn "iTop CRON" /sc minute /mo 1 /tr "\"<itop root>/webservices/cron.cmd\""
  13. @@ -96,8 +98,9 @@ In order to ease the installation, all the background tasks have been grouped to

    Scheduling cron.php on Linux/Unix

      -
    1. Edit the file <itop root>/webservices/cron.params to set the credentials used for cronified tasks (requires administator privileges)
    2. +
    3. Copy the file <itop root>/webservices/cron.distrib to <itop root>/webservices/cron.params (requires administator privileges)
    4. If you care about security: move the file <itop root>/webservices/cron.params into a directory not in the scope of the web server (Apache), and make it be readable only by the account that will execute the cron
    5. +
    6. Edit the file cron.params to set the credentials used for cronified tasks
    7. Edit the crontab and add the following line:
      * * * * * /usr/bin/php <itop root>/webservices/cron.php --param_file=<itop root>/webservices/cron.params