The link dos not take place, but looking at the cron log
journalctl |grep CRON
Shows the command was called, but the link did not complete.
Nov 28 19:59:01 WR4AGC CROND[9082]: (root) CMD (/usr/sbin/asterisk -rx “rpt fun 55342 *327339”)
Nov 28 19:59:01 WR4AGC CROND[9081]: pam_unix(crond:session): session closed for user root
Nov 28 20:00:01 WR4AGC CROND[9199]: (root) CMD (/usr/local/bin/AUTOSKY/AutoSky)
Nov 28 20:00:01 WR4AGC CROND[9200]: (root) CMD (/usr/sbin/asterisk -rx “rpt fun 55342 *3855424”)
Then using Dougs Supermon2 interface connected manually, but would like to understand what/why the crontab did not successfully complete. As per forums post I found the 6 digit echolink node number needs to be prefixed with *3, so all would seem it would be set to execute…but alas no completion
to connect to echolink it should be *33 and then the node number 6 digits long if less than 6 digits then add 0’s to the front. ex 69145 would be *33069145
I don’t mean to hijack this thread but I have a question on this exact topic and instead of making a new thread why not ask that simple question here?
I have a few crontabs made for my node to connect and disconnect from certain nodes during the day. Some of them are only a certain day of the week and those work fine.
The problem I am having is when I want to connect for instance mon to fri I have the corn like this
00 15 * * 1-5
what about if it’s only tue and thu? 00 15 * * 2-4?
Is there a particular way that ASL looks for in a cron job?
System Cron uses system logical number in it’s numbering
and 0 is logical 1, not number 1, as the first number.
0=sunday and 6 = sat
You might be more use to that if you were interfacing or talking to hardware more.
Takes a while to remember that and causes some hair pulling for newcomers.
But if it is at OS level addressing, it’s normally the case.
I guess that was a typo. if 0 is sun then 1-5 is mon to fri?
I am using the scheduler on RPT with its respective macro, not a cron job I should have explained that better.
; SCHEDULES
[macro518090]
;Macro number = command string (each command separated by space) -end with HASH
1=*81 *80# ; play time and voice ID
2=*3XXXXX#
3=*1XXXXX#
4=*3XXXXX#
5=*1XXXXX#
6=*3XXXXX#
7=*1XXXXX#
8=*3XXXXX#
9=*1XXXXX#
10=*3XXXXX#
11=*1XXXXX#
12=*73XXXXX#
Number 12 is actually my startup macro that’s why it doesn’t have a schedule, I remembered too late I did not have a startup after completing all my other schedules and didn’t think it would make a difference it was that low on the list of macros.
FB Alex,
Sorry if I am a bit confused (easy to do anymore), but are you still seeking answers ?
I’m guessing you found it with the macro 12 and startup, but didn’t want to leave you hanging.
I just wanted for you to look at my schedules and macros and see if they were right. It is the first time I have used a schedule that involved a multi-day and I wasn’t sure if the syntax was correct. Single days or everyday schedules are easy but wasn’t sure about the multiday.
FB,
Well, it is harder to look for something when there is no exact target. Easy miss.
But yes, the sched looks fine.
I guess what you should look for is the number of entries first, as there should be 5 per item. + macro
That is where most fat finger them.
The only extra guidance I might have would be early on to make your macro numbers jump by 10/100 so you can keep macro’s organized by type.
ie system maintenance, remote connections and announcements for that etc
At one time I had a slew of them, but not everybody does the same stuff
Useful when you have accumulated a bunch and debugging.
After you have a bunch, you will not want to do it. To much work.