set base-path dynamically in crond-config for freebsd, fixes #575
This commit is contained in:
@@ -220,14 +220,14 @@ return Array(
|
|||||||
'label' => $lng['admin']['configfiles']['etc'],
|
'label' => $lng['admin']['configfiles']['etc'],
|
||||||
'daemons' => Array(
|
'daemons' => Array(
|
||||||
'cron' => Array(
|
'cron' => Array(
|
||||||
'label' => 'Crond (cronscript)',
|
'label' => 'Crond (cronscript)',
|
||||||
'commands' => Array(
|
'commands' => Array(
|
||||||
'echo "*/1 * * * * root /usr/local/bin/php -q /var/customers/froxlor/scripts/froxlor_master_cronjob.php" >> /etc/crontab'
|
'echo "*/5 * * * * root /usr/local/bin/php -q '.makeCorrectDir(dirname(dirname(dirname(__FILE__)))).'scripts/froxlor_master_cronjob.php" >> /etc/crontab'
|
||||||
),
|
),
|
||||||
'restart' => Array(
|
'restart' => Array(
|
||||||
'/etc/rc.d/cron restart'
|
'/etc/rc.d/cron restart'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'awstats' => Array(
|
'awstats' => Array(
|
||||||
'label' => 'Awstats',
|
'label' => 'Awstats',
|
||||||
'commands' => Array(
|
'commands' => Array(
|
||||||
@@ -267,5 +267,3 @@ return Array(
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user