provide full path to 'nice'-executable in cron-configuration-templates, fixes #1272
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -264,7 +264,7 @@ CREATE TABLE `panel_ipsandports` (
|
|||||||
`namevirtualhost_statement` tinyint(1) NOT NULL default '0',
|
`namevirtualhost_statement` tinyint(1) NOT NULL default '0',
|
||||||
`vhostcontainer` tinyint(1) NOT NULL default '0',
|
`vhostcontainer` tinyint(1) NOT NULL default '0',
|
||||||
`vhostcontainer_servername_statement` tinyint(1) NOT NULL default '0',
|
`vhostcontainer_servername_statement` tinyint(1) NOT NULL default '0',
|
||||||
`specialsettings` text NOT NULL,
|
`specialsettings` text NOT NULL default '',
|
||||||
`ssl` tinyint(4) NOT NULL default '0',
|
`ssl` tinyint(4) NOT NULL default '0',
|
||||||
`ssl_cert_file` varchar(255) NOT NULL,
|
`ssl_cert_file` varchar(255) NOT NULL,
|
||||||
`ssl_key_file` varchar(255) NOT NULL,
|
`ssl_key_file` varchar(255) NOT NULL,
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
|||||||
#
|
#
|
||||||
# Regular cron jobs for the froxlor package
|
# Regular cron jobs for the froxlor package
|
||||||
#
|
#
|
||||||
*/5 * * * * root nice -n 5 /usr/bin/php5 -q <BASE_PATH>scripts/froxlor_master_cronjob.php
|
*/5 * * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q <BASE_PATH>scripts/froxlor_master_cronjob.php
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
|||||||
#
|
#
|
||||||
# Regular cron jobs for the froxlor package
|
# Regular cron jobs for the froxlor package
|
||||||
#
|
#
|
||||||
*/5 * * * * root nice -n 5 /usr/bin/php5 -q <BASE_PATH>scripts/froxlor_master_cronjob.php
|
*/5 * * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q <BASE_PATH>scripts/froxlor_master_cronjob.php
|
||||||
|
|||||||
@@ -7,4 +7,4 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
|||||||
#
|
#
|
||||||
# Please check that all following paths are correct
|
# Please check that all following paths are correct
|
||||||
#
|
#
|
||||||
*/5 * * * * root nice -n 5 /usr/bin/php -q <BASE_PATH>scripts/froxlor_master_cronjob.php
|
*/5 * * * * root /usr/bin/nice -n 5 /usr/bin/php -q <BASE_PATH>scripts/froxlor_master_cronjob.php
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
|||||||
#
|
#
|
||||||
# Regular cron jobs for the froxlor package
|
# Regular cron jobs for the froxlor package
|
||||||
#
|
#
|
||||||
*/5 * * * * root /usr/bin/php5 -q /srv/www/froxlor/scripts/froxlor_master_cronjob.php
|
*/5 * * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /srv/www/froxlor/scripts/froxlor_master_cronjob.php
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
|||||||
#
|
#
|
||||||
# Regular cron jobs for the froxlor package
|
# Regular cron jobs for the froxlor package
|
||||||
#
|
#
|
||||||
*/5 * * * * root nice -n 5 /usr/bin/php5 -q <BASE_PATH>scripts/froxlor_master_cronjob.php
|
*/5 * * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q <BASE_PATH>scripts/froxlor_master_cronjob.php
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
|||||||
#
|
#
|
||||||
# Regular cron jobs for the froxlor package
|
# Regular cron jobs for the froxlor package
|
||||||
#
|
#
|
||||||
*/5 * * * * root nice -n 5 /usr/bin/php5 -q <BASE_PATH>scripts/froxlor_master_cronjob.php
|
*/5 * * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q <BASE_PATH>scripts/froxlor_master_cronjob.php
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
|||||||
#
|
#
|
||||||
# Regular cron jobs for the froxlor package
|
# Regular cron jobs for the froxlor package
|
||||||
#
|
#
|
||||||
*/5 * * * * root nice -n 5 /usr/bin/php5 -q <BASE_PATH>scripts/froxlor_master_cronjob.php
|
*/5 * * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q <BASE_PATH>scripts/froxlor_master_cronjob.php
|
||||||
|
|||||||
Reference in New Issue
Block a user