Very useful... you anticipated my next question :-)

Thanks much,
Bob
kk6ecm

Sent from iPad


On Mar 9, 2014, at 9:25 AM, <mike@midnighteng.com> wrote:



Bob,

Without knowing the exact nature, I can give some advice on this as I do run scripts from the app_rpt sched over the use of system cron and there are good and bad doing it that way.

But here is some guidance...

You can put the scripts in the /etc/asterisk folder (I use /etc/asterisk/scripts ) but you need to make sure you set file permissions to say 755 on the script file and be sure to call them specifically from their location or set a path to your directory.

Also note that any item you call in the script would have the same permission/path problem so do not assume you can run a file/command (as you would from "root" command line) without saying where it is with a path to it in the command line. And having the permissions set to run it.

If you are trying to keep security on files, you might run them as user: "asterisk".

Hope that is of some value...

...mike/kb8jnm


-------- Original Message --------
Subject: [App_rpt-users] app_rpt script execution
From: "Bob" <kk6ecm@gmail.com>
Date: Sun, March 09, 2014 12:08 pm
To: <app_rpt-users@ohnosec.org>

I’m working on a node that downloads a file from the internet weekly, but the time seems to vary. I want to change this to a specific day and time each week, but cannot determine what is activating the script. The script is located in /etc/asterisk/. rpt.conf uses the file per its [schedule] stanza. I have two questions:
 
Does the server only load/execute files in /etc/asterisk each time asterisk is started?
How can I setup the system so it executes this script at a given time each week?
 
Thanks,
Bob
kk6ecm
 

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of mike@midnighteng.com
Sent: Sunday, March 09, 2014 8:24 AM
To: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] DTMF A B C D
 


Yes Angelo,
you can use them but,
just keep in mind the full implications of using them for control op commands because you probably do not have ABCD on your phone control system.
 
...mike/kb8jnm
-------- Original Message --------
Subject: [App_rpt-users] DTMF A B C D
From: Angelo Glorioso <n5uxt@hotmail.com>
Date: Sun, March 09, 2014 9:02 am
To: "Allstar app_rpt-users Group" <app_rpt-users@ohnosec.org>
Hi all,
 
I realized this has never been asked or I just can't find the answer.
Can the A B C D on the DTMF pad be used for control codes??
 
73 de Angelo
 
 

_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.

_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.