[PD] messages from cron to Pd

Fred Voisin ordi at fredvoisin.com
Wed Jan 20 23:51:39 CET 2010


Hi,

you may test (it should work):

echo "foo bla bla" | nc -u host Pdportfornetreceive

(where nc is netcat, and -u for using UDP protocol)
Best,

Fred

Florian Hollerweger wrote:
> Hi list,
> 
> I am trying to send messages to Pd from cron.
> 
> However, the following entry in my crontab...
> 
> 	* * * * * echo "foo bla;" | pdsend 3007 localhost
> 
> ... does not seem to make it to the following Pd patch:
> 
> 	[netreceive 3007]
> 	 |
> 	[print]
> 
> whereas running the same command manually creates printout in Pd as
> expected.
> 
> I also tried to encapsulate the above line into a shell script, without
> success. The same crontab executes other (non-Pd-related) jobs without
> trouble.
> 
> Anyone got a clue what daemons I am fighting here?
> 
> best,
> flo.H
> 
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 





More information about the Pd-list mailing list