Skip to content
Snippets Groups Projects
inc_cronlog.php.dist 1.63 KiB
<?php
/**
 * ______________________________________________________________________
 * 
 *  _____                 _       _             _                        
 * /  __ \               (_)     | |           (_)                       
 * | /  \/_ __ ___  _ __  _  ___ | |__   __   ___  _____      _____ _ __ 
 * | |   | '__/ _ \| '_ \| |/ _ \| '_ \  \ \ / / |/ _ \ \ /\ / / _ \ '__|
 * | \__/\ | | (_) | | | | | (_) | |_) |  \ V /| |  __/\ V  V /  __/ |   
 *  \____/_|  \___/|_| |_| |\___/|_.__/    \_/ |_|\___| \_/\_/ \___|_|   
 *                      _/ |                                             
 *                     |__/                                              
 * ______________________________________________________________________
 * 
 * CONFIG FILE
 * 
 * it is included by classes/cronlog.class.php
 */
return array(
    // starting directory with all servers cronwrapper logs
    'sDatadir'=>'__APPDIR__/data',

    // caching time for serverinfos
    'iTtlCache'=>60,

    // set minmal TTL (cronjobs with lower TTL will usethat limit) [min]
    // minimum is cycle how often the log sync is running
    'iMinTtl'=>10,
    
    // when show an error for expired jobs (latency to execute job and sync logs) [min]
    'iExpiredJobsFailAfter'=>30,

    // hide these cronjob labels in the web gui tab "history"
    'aHidelogs'=>array(
        'copycronlogs',
    ),

    // if you have multiple instances: add label and url for a switcher menu
    /*
    'instances'=>[
        'Docker'=>'http://localhost:8006',
        'Intern'=>'https://cronlogs.intern.example.com/',
        'Extern'=>'https://cronlogs.extern.example.com/',
    ],
    */    
);