Wow! That worked :P For the record, I have a file in /etc/cron.d/ called mythfilldatabase which contains... 7 */12 * * * root sh /usr/local/bin/scheduledmythfilldb.sh
..and the /usr/local/bin/scheduledmythfilldb.sh script contains... #!/bin/bash export PATH=$PATH:/usr/local/bin/ mythfilldatabase ...and everything is working sweet as :P Cheers, Dave On Tue, 25 Jan 2005 10:29:53 +0000, Tom Hughes <[EMAIL PROTECTED]> wrote: > In message <[EMAIL PROTECTED]> > David Whyte <[EMAIL PROTECTED]> wrote: > > > Thanks for the reply mate. Can I ask how I could possibly update the > > path for the non-interactive root login? I am a linux noob and paths > > are definately one of the areas that I don't yet understand. > > Well if you're going to get myth to run it then you could edit > whatever script is starting the backend to make it add /usr/local/bin > to the path before it starts the backend. > > For cron the best solution is probably to write a small shell script > in /usr/local/bin or something that adjusts the path and then runs > mythfilldatabase and then schedule that script with cron. > > The other option is to put tv_grab_au in /usr/bin or something so that > it is on the default path. I can understand not wanting to do that if > it isn't part of a package though as I wouldn't want to either. > > Tom > > -- > Tom Hughes ([EMAIL PROTECTED]) > http://www.compton.nu/ > > > _______________________________________________ > mythtv-users mailing list > [email protected] > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > > > -- GMAIL is 'da bomb baby....YEAH
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
