Author Topic: Task Scheduler - Send text to connection  (Read 21 times)

3mFM Tech

  • Newbie
  • *
  • Posts: 27
Task Scheduler - Send text to connection
« 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


3mFM Tech

  • Newbie
  • *
  • Posts: 27
Re: Task Scheduler - Send text to connection
« Reply #1 on: May 12, 2022, 01:36:47 am »
Solved it myself: In Task Scheduler task...

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