mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Fixed crontab references in pandora_server_installer
This commit is contained in:
parent
4e851a567e
commit
3e977465fa
@ -375,7 +375,7 @@ install () {
|
|||||||
[ ! -d $DESTDIR/etc/cron.hourly ] && mkdir -p $DESTDIR/etc/cron.hourly
|
[ ! -d $DESTDIR/etc/cron.hourly ] && mkdir -p $DESTDIR/etc/cron.hourly
|
||||||
echo "Creating the Cron script to run Pandora DB tool each hour"
|
echo "Creating the Cron script to run Pandora DB tool each hour"
|
||||||
echo "#!/bin/bash" > $DESTDIR/etc/cron.hourly/pandora_db
|
echo "#!/bin/bash" > $DESTDIR/etc/cron.hourly/pandora_db
|
||||||
echo "perl $PANDORA_HOME/util/pandora_db.pl /etc/pandora/pandora_server.conf" >> $DESTDIR/etc/cron.hourly/pandora_db
|
echo "perl $PANDORA_HOME/util/pandora_db.pl /etc/pandora/pandora_server.conf" >> /etc/cron.hourly/pandora_db
|
||||||
chmod +x /etc/cron.hourly/pandora_db
|
chmod +x /etc/cron.hourly/pandora_db
|
||||||
elif [ "$DISTRO" = "FreeBSD" ] || [ "$DISTRO" = "NetBSD" ]
|
elif [ "$DISTRO" = "FreeBSD" ] || [ "$DISTRO" = "NetBSD" ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user