The command set up should run every minute(of course in production I'm going to make it less frequent).<br><br>I piped the output of the cron command to a log file and discovered that it is running my script. It's just that the script fails because it claims to be unable to include required files. It says that they can't be found. I don't understand. What directory does cron run files in? Any suggestions?
<br><br>Thanks<br><br><div><span class="gmail_quote">On 23/10/2007, <b class="gmail_sendername">Andrew Clayton</b> <<a href="mailto:andrew@digital-domain.net">andrew@digital-domain.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 23 Oct 2007 22:44:22 +0100, chris wyllie wrote:<br><br>> Here's the output of crontab -e:<br>><br>> root@Madeline[/var/www/hdmotherlode]# crontab -l<br>> # m h dom mon dow command<br>> * * * * * php -f /var/www/hdmotherlode/video_convertor.php
<br><br>Hmm, I'm not sure how * * * * * would be interpreted, never, perhaps..<br>If you wanted it run every hour then use something like 7 */1 * * *<br><br>(The 7 is just so you don't have loads of stuff all happening on the
<br>hour)<br><br>Andrew<br><br>_______________________________________________<br>dundee GNU/Linux Users Group mailing list<br><a href="mailto:dundee@lists.lug.org.uk">dundee@lists.lug.org.uk</a> <a href="http://dundee.lug.org.uk">
http://dundee.lug.org.uk</a><br><a href="https://mailman.lug.org.uk/mailman/listinfo/dundee">https://mailman.lug.org.uk/mailman/listinfo/dundee</a><br>Chat on IRC, #tlug on <a href="http://dundee.lug.org.uk">dundee.lug.org.uk
</a><br></blockquote></div><br>