diff --git a/consumer.py b/consumer.py index 3841495..7441739 100644 --- a/consumer.py +++ b/consumer.py @@ -72,7 +72,7 @@ conn.connect('admin', 'password', wait=True) conn.subscribe('/queue/yankee-sully-channels-monthly', id=1, ack='auto', headers={'activemq.prefetchSize': 10}) print("## ") -print("## notification > connected to JMS server (yankee-sully-channels-monthly) 3333") +print("## notification > connected to JMS server (yankee-sully-channels-monthly) 456") print("## ") while True: diff --git a/crontabX b/crontabX index 67b5934..ab903e1 100644 --- a/crontabX +++ b/crontabX @@ -1,7 +1,7 @@ SHELL=/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -* * * * * /yankee-gnome-fire-consumer/consumer.bash >> /var/log/yankee.log +48 20 * * * /yankee-gnome-fire-consumer/consumer.bash >> /var/log/yankee.log * * * * * /yankee-gnome-fire-consumer/ping.bash >> /var/log/cron.log 2>&1