> openRTSP -4 -I -d 300  rtsp://10.0.0.2  > /media/video4.mp4
> 
> When I run this in console by ./name.sh it works but when I added it into 
> crontab it does not work. What should I do

Because your command works OK when you type it into a console, this is really a 
question about using “crontab” rather than a question about our software.

From “man 5 crontab”:

     Several environment variables are set up automatically by the cron(8)
     daemon.  SHELL is set to /bin/sh, PATH is set to /usr/bin:/bin, and
     LOGNAME and HOME are set from the /etc/passwd line of the crontab's
     owner.  HOME, PATH and SHELL may be overridden by settings in the
     crontab; LOGNAME may not.

The problem might simply be that “openRTSP” is not in PATH (/usr/bin or /bin)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to