[arm-allstar] automatic/programmed disconnect every night

Doug Crompton wa3dsp at gmail.com
Wed Aug 28 14:22:50 EDT 2019


Hours are 00-23     00= midnight

Doug

On Wed, Aug 28, 2019 at 1:47 PM "Gervais Fillion via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

>  crontab -e
> crontab: installing new crontab
> "/tmp/crontab.JDXYxo":5: bad hour
> errors in crontab file, can't install.
> Do you want to retry the same edit?
>
>
>
> well,
>
> 00 24  *  *  *  /usr/bin/asterisk -rx "rpt fun  49438  *76"
>
>
>
>
> it's not my day!
>
> gef
>
> ________________________________
> De : ARM-allstar <arm-allstar-bounces at hamvoip.org> de la part de "Doug
> Crompton via ARM-allstar" <arm-allstar at hamvoip.org>
> Envoyé : 28 août 2019 11:17
> À : ARM Allstar <arm-allstar at hamvoip.org>
> Cc : Doug Crompton <wa3dsp at gmail.com>
> Objet : Re: [arm-allstar] automatic/programmed disconnect every night
>
> Gervais,
>
>    It is   crontab -e    not cron
>
> Doug
>
>
> On Wed, Aug 28, 2019 at 10:13 AM "Gervais Fillion via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > Hi Doug
> >
> > i just tried
> >
> > [root at VE2CKN ~]# -  cron -e  -
> > bash: -: command not found
> >
> > what am i doing wrong ??
> >
> > gervais
> >
> >
> > ________________________________
> > De : ARM-allstar <arm-allstar-bounces at hamvoip.org> de la part de "Doug
> > Crompton via ARM-allstar" <arm-allstar at hamvoip.org>
> > Envoyé : 27 août 2019 22:28
> > À : ARM Allstar <arm-allstar at hamvoip.org>
> > Cc : Doug Crompton <wa3dsp at gmail.com>
> > Objet : Re: [arm-allstar] automatic/programmed disconnect every night
> >
> > Gervais,
> >
> >  Yes very easy. I presume you want to disconnect all connected nodes.
> Just
> > do this -
> >
> > 00 23  *  *  *  /usr/bin/asterisk -rx "rpt fun <node> *76"
> >
> > This is a cron line. Do -  cron -e  -  at the Linux prompt and add it as
> > another line and save. Make the <node> equal to the node you want to
> > control minus the <> and the time is the first two parameters. Minutes
> > first then hours in 24 hour time. Shown is 11 PM. This would disconnect
> all
> > connected nodes at that time.
> >
> >
> > *73 Doug*
> >
> > *WA3DSP*
> >
> > *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
> >
> > On Tue, Aug 27, 2019 at 10:19 PM "Gervais Fillion via ARM-allstar" <
> > arm-allstar at hamvoip.org> wrote:
> >
> > > Doug,
> > > may i ask then if there is a script to automatically disconnect the
> node
> > > at a certain time of the day,lets say 12.00 (midnight my time)to what
> > ever
> > > node or conference i am  connected and my node would return idle,,
> > >
> > > thanks doug
> > >
> > > ps i manually disconnect every night before going to bed here
> > >
> > > gef
> > >
> > >
> > > _______________________________________________
> > >
> > > 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
> > _______________________________________________
> >
> > 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
> _______________________________________________
>
> 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