tag:blogger.com,1999:blog-3803541356848955053.post7516337709550675003..comments2010-11-30T00:35:53.054-08:00Comments on YJL --verbose: Auto-downloading YouTube new subscription videosYu-Jie Linhttps://profiles.google.com/115422682039760465813[email protected]Blogger3125tag:blogger.com,1999:blog-3803541356848955053.post-40961481620336457562010-11-13T05:04:56.427-08:002010-11-13T05:04:56.427-08:00Hmmm, pgrep, thanks for the tip!Hmmm, pgrep, thanks for the tip!Tóth Martinhttp://ezimir.deviantart.com[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-1423191276148672492010-11-13T04:42:33.609-08:002010-11-13T04:42:33.609-08:00`pgrep` might be a better choice. But I was thinki...`pgrep` might be a better choice. But I was thinking, if I would want to fix that, I would use `flock` on corresponding lockfile to queue files. So queuing files would not be downloaded twice. And it has a benefit, or side-effect, two or more autodlyt would download videos at same time when cron invokes more instances.livibetterhttp://lmgtfy.com/?q=livibetter[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-47688588557113299002010-11-13T00:12:30.905-08:002010-11-13T00:12:30.905-08:00Hey! Regarding cron: from my experience, cron doe...Hey!<br /><br />Regarding cron: from my experience, cron does not care whether previously started job is finished or not. I usually include a &quot;ps aux ¦ grep scriptname&quot; filter in the script if I want it to run only one instance at a time. Works quite well.<br /><br />Have a nice day,<br />Martinezimírhttp://ezimir.deviantart.com[email protected]