try to select from database if there is no redis row
[APKPM.git] / cron.sh
diff --git a/cron.sh b/cron.sh
index 42a2b05..d72161e 100755 (executable)
--- a/cron.sh
+++ b/cron.sh
@@ -7,8 +7,8 @@ if [ "$what" == "install" ] ; then
 cat > /etc/cron.d/apkpm <<__CRON__
 # m h dom mon dow user command
 */15 *  * * *  dpavlin /srv/APKPM/cron.sh CPE_poll
-*/15 *  * * *  dpavlin /srv/APKPM/cron.sh poll_ZTEDSLAM
-*/15 *  * * *  dpavlin /srv/APKPM/cron.sh poll_ZTEMSAN
+*/15 *  * * *  dpavlin /srv/APKPM/cron.sh ZTEDSLAM_poll
+*/15 *  * * *  dpavlin /srv/APKPM/cron.sh ZTEMSAN_poll
 __CRON__
 
 exit