2008-08-26 Sancho Lerena <slerena@artica.es>
* pandora_*installer: Minimal fix creating cront task in installer git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
0e8c7d513c
commit
9b550bbdac
|
@ -1,3 +1,8 @@
|
|||
|
||||
2008-08-26 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* pandora_*installer: Minimal fix creating cront task in installer
|
||||
|
||||
2008-08-25 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* bin/pandora_wmi: Check for wmic execution errors.
|
||||
|
|
|
@ -57,7 +57,8 @@ install () {
|
|||
cp -R util /usr/share/pandora
|
||||
if [ -d /etc/cron.daily ]
|
||||
then
|
||||
echo "perl /usr/share/pandora/util/pandora_db /etc/pandora/pandora_server.conf" > /etc/cron.daily/pandora_purge_db
|
||||
echo "#!/bin/bash" > /etc/cron.daily/pandora_purge_db
|
||||
echo "perl /usr/share/pandora/util/pandora_db /etc/pandora/pandora_server.conf" >> /etc/cron.daily/pandora_purge_db
|
||||
chmod +x /etc/cron.daily/pandora_purge_db
|
||||
else
|
||||
echo "You're probably not using cron for automatic scheduling. You should schedule the following command to run frequently (daily) on your master server:"
|
||||
|
|
|
@ -98,7 +98,8 @@ else
|
|||
cp -R util /usr/share/pandora
|
||||
if [ -d /etc/cron.daily ]
|
||||
then
|
||||
echo "perl /usr/share/pandora/util/pandora_db /etc/pandora/pandora_server.conf" > /etc/cron.daily/pandora_purge_db
|
||||
echo "#!/bin/bash" > /etc/cron.daily/pandora_purge_db
|
||||
echo "perl /usr/share/pandora/util/pandora_db /etc/pandora/pandora_server.conf" >> /etc/cron.daily/pandora_purge_db
|
||||
chmod +x /etc/cron.daily/pandora_purge_db
|
||||
else
|
||||
echo "You're probably not using cron for automatic scheduling. You should schedule the following command to run frequently (daily) on your master server:"
|
||||
|
|
Loading…
Reference in New Issue