[arm-allstar] Cron Jobs
David Lang
david at lang.hm
Wed May 4 20:01:10 EST 2016
On Wed, 6 Apr 2016, Pete Fierro via arm-allstar wrote:
> Hello
>
> Tinkering with scripting here.I want to connect to the ARRL News Monday
> night&want the scripts to do this while I'm away.Here is what I have
>
> To disconnect
>
> 20 9 * * 1/usr/sbin/asterisk -rx "rpt fun 27225 *76
>
> Connecting
>
> 50 8 * * 1 /usr/sbin/asterisk -rx "rpt fun 27225 *73
>
> Entered crontab -e I see both files there.Do these files need to be put
> in nsomeplace else to be executable?Or are they executable now?
I know this is an old post, but crontab received a significant upgrade several
years ago and there is an /etc/crontab file that takes one additional argument
between the timeing and the command, what user to run as.
The advantage is that your commands are not scattered over many files, and you
don't have to use the crontab -e command to edit them, this file can be managed
with any editor or config management tool.
David Lang
More information about the arm-allstar
mailing list