mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 06:00:13 +01:00
Added import.sh to postinstall.sh crontab
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
eabe31474c
commit
4bd447b105
@ -286,6 +286,7 @@ make_cron_entries() {
|
|||||||
echo "30 6 * * * /usr/bin/php ${LIBEXECDIR}/piler/generate_stats.php --webui ${DOCROOT} >/dev/null";
|
echo "30 6 * * * /usr/bin/php ${LIBEXECDIR}/piler/generate_stats.php --webui ${DOCROOT} >/dev/null";
|
||||||
echo "*/5 * * * * /usr/bin/find ${LOCALSTATEDIR}/piler/error -type f|wc -l > ${LOCALSTATEDIR}/piler/stat/error";
|
echo "*/5 * * * * /usr/bin/find ${LOCALSTATEDIR}/piler/error -type f|wc -l > ${LOCALSTATEDIR}/piler/stat/error";
|
||||||
echo "*/5 * * * * /usr/bin/find ${DOCROOT}/tmp -type f -name i.\* -exec rm -f {} \;";
|
echo "*/5 * * * * /usr/bin/find ${DOCROOT}/tmp -type f -name i.\* -exec rm -f {} \;";
|
||||||
|
echo "#*/5 * * * * ${LIBEXECDIR}/piler/import.sh";
|
||||||
echo "### PILEREND";
|
echo "### PILEREND";
|
||||||
} >> "$CRON_TMP"
|
} >> "$CRON_TMP"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user