[arm-allstar] cron job setup

Tony Ross ynotssor at yahoo.com
Sat Mar 3 01:18:40 EST 2018


No worries Doug, as you always have too much to deal with. (Look at me 
end my previous sentence a preposition in!)

On 03/02/2018 09:29 PM, "Doug Crompton via arm-allstar" wrote:
> ops yes missed that just copied his string.
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
>
> On Fri, Mar 2, 2018 at 11:47 PM, "Tony Ross via arm-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
>> On 03/02/2018 06:07 PM, "Kevin Halton" wrote:
>>
>>> I am trying to setup a cron job to connect to a different node at a
>>> pre-determined time and then disconnect at another pre-determined time. My
>>> first question is the time to set is it LOCAL time that gets entered?
>>> Second
>>> question, after I set these up do I need to restart asterisk? Last
>>> question
>>> does this look correct to start at 5:56pm and disconnect at 8pm?
>>>
>>>
>>> 56 17 * * * 6 /usr/sbin/asterisk -rx "rpt fun XXXXX *3XXXXX"
>>>
>>> 00 20 * * * 6/usr/sbin/asterisk -rx "rpt fun XXXXX *1XXXXX"
>>>
>> The "6" prior to each command field will generate errors for you. The
>> schedule fields have only 5 components (see # m h  dom mon dow command
>> which should be the last header line in a standard crontab file), so if you
>> want to start at 17:56 on a Saturday:
>>
>> 56 17 * * 6 command
>> _______________________________________________
>>
>> arm-allstar mailing list
>> arm-allstar at hamvoip.org
>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>
>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>



More information about the arm-allstar mailing list