[PD] messages from cron to Pd

Roman Haefeli reduzierer at yahoo.de
Thu Jan 21 00:21:05 CET 2010


Hi

Probably cron doesn't find the binaries. Either export all PATHes or
specify absolute pathes for all files/binaries:

* * * * * /bin/echo "foo bla;" | /usr/local/bin/pdsend 3007 localhost

(I know that at least /usr/local/bin/ is not searched by default by
cron).

Roman



On Wed, 2010-01-20 at 21:46 +0000, 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