crontab resets


Bob740
 

I have the following repeater crontab in my Debian 9 system:

SHELL=/bin/bash
TERM=xterm
BASH_ENV=/home/irlp/.profile
0 0 1 * * (/home/irlp/scripts/rotatelog > /dev/null 2>&1)
30 3 * * * (/home/irlp/scripts/clean_old_audio > /dev/null 2>&1)
0 3 * * * (/home/irlp/scripts/update_files_cron > /dev/null 2>&1)
0 * * * * (/home/irlp/scripts/process_check > /dev/null 2>&1)
*/15 * * * * (/home/irlp/scripts/ipupdate_cron > /dev/null 2>&1)
0 */6 * * * (/home/irlp/scripts/statupdate_cron > /dev/null 2>&1)
0 6-22 * * * (/home/irlp/custom/speaktime.wb8odf &>/dev/null 2>&1)

Every night at 3:00 AM the last line changes to the following (which I don't want). This is an old version of speaktime. 

0 6-22 * * * (/home/irlp/features/speaktime/speaktime &>/dev/null 2>&1)

I also noticed that the file /home/irlp/custom/custom.crons has the following line in it:

0 6-22 * * * (/home/irlp/features/speaktime/speaktime &>/dev/null 2>&1)

I'm a newbie at this so I have to ask, does the contents of custom.crons get updated in the repeater crontab as a result of the update_files_cron script that runs (in my case) at 3:00 AM? It sure looks like it does. If so, when you want to update the repeater crontab should you put the changes in custom.crons rather than directly in the repeater crontab?

Thanks,
Bob
KE0SDV
7268

Join IRLP@irlp.groups.io to automatically receive all group messages.