Date
1 - 3 of 3
crontab resets
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_
0 3 * * * (/home/irlp/scripts/update_
0 * * * * (/home/irlp/scripts/process_
*/15 * * * * (/home/irlp/scripts/ipupdate_
0 */6 * * * (/home/irlp/scripts/
0 6-22 * * * (/home/irlp/custom/speaktime. 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/ I also noticed that the file /home/irlp/custom/custom.crons has the following line in it: 0 6-22 * * * (/home/irlp/features/ 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
|
|
Dave K9DC
You are exactly correct. It is actually used to ADD things to repeater’s crontab. So make the change in custom.crons, then execute an ‘update’ command to activate it.
toggle quoted messageShow quoted text
-k9dc
On Jul 31, 2020, at 14:35, Bob740 <bob@bobleavitt.com> wrote:
|
|
Thanks for confirming my idea of the way this works.
Bob KE0SDV 7268
|
|