Pira.cz Technical Forum

Magic RDS 4 => Configuration Options and Possibilities => Topic started by: South Coast FM Tech on May 12, 2022, 12:03:52 am

Title: Task Scheduler - Send text to connection
Post by: South Coast FM Tech on May 12, 2022, 12:03:52 am
I'm trying to use Task Scheduler to update a single line of text in a text file that contains the current radio program name.

I've created a new Connection > Bridge
Connection Name "CurrentProgramName"
Connection Type: Internal Channel
Data Distribution Settings: saveto file:"D:\test\CurrentProgamName.txt" mode:"rewrite"

The connection seems to work if I send it something via External Text Sources > Destinations.
However, not if I try to send text from a Task Scheduler task.

In Task Scheduler, what is the correct syntax the task to send text to the CurrentProgramName connection?
 sendto "CurrentProgramName" "Thursday Breakfast"
 send connection:"CurrentProgramName" Thursday Breakfast"

thanks, Rod

Title: Re: Task Scheduler - Send text to connection
Post by: South Coast FM Tech on May 12, 2022, 01:36:47 am
Solved it myself: In Task Scheduler task...

send connection:"CurrentProgramName" command:"Thursday Breakfast"