Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Morning guys,
After having issues (Because im new) to installing sickbeard onto the dlink 323 i have opted for another option!
I have found a small python script called Leechr
http://code.google.com/p/leechr/
Its not a bad little script as it checks for items from myepisodes.com and can connect to nzbmatrix.com nzbs.org etc.
The only issue is that it has to be manually run using python leechr.py
Is there anyway to shedule this task say ever 2 hours so i dont have to run it manually?
Cheers as always guys!
Craig
Offline
Sure you can. Use cron. Read about it here: http://linux.die.net/Linux-CLI/scheduling.html
If you'd like to automatically create that cron job on every boot you'll need to create a script to do just that and place it under /ffp/start. It should be something similar to step 3, here: http://dns323.kood.org/howto:backup?s=c … led_backup
Offline
wicked, thanks very much.
Having a bit of an issue running the script.
I have got the editcron.sh script as below:
#!/bin/sh
CRONTXT=/mnt/HD_a2/crontab.txt
# start with existing crontab
/bin/crontab -l > $CRONTXT
# add the Rsync job to execute at 2:05 am - also create a logfile
/bin/echo "0 2 * * * /mnt/HD_a2/newsbin/Leechr/python leechr.py -d
# install the new crontab
/bin/crontab $CRONTXT
# clean up
/bin/rm $CRONTXT
I am getting an error on line 9 (The line that references to the leechr.py file) Does this look right to you?
Cheers
Offline
Never mind matey! Got there in the end!! Thanks ever so much!! Just need to get coutchpotato done and im a happy little camper!
Offline
Apparently i havent got it sorted!
Doesnt seem to run the python job!
Any ideas?!
Offline
Didn't you mean to write something like this:
/bin/echo "0 2 * * * /mnt/HD_a2/newsbin/Leechr/python leechr.py -d" >> $CRONTXT
If you issue the command from telnet/ssh and it works but putting the command in your script doesn't than it's probably because of the different run environment. your cron job is run as user root.
To help figure it out, try changing the command like so:
/bin/echo "0 2 * * * /mnt/HD_a2/newsbin/Leechr/python leechr.py -d > /mnt/HD_a2/leechr.log 2>&1" >> $CRONTXT
Hopefully, in the log file (/mnt/HD_a2/leechr.log) you'll find the reason why it's not working.
Offline
nzbgetter is probably a similar script with php where i added a few things here and there ...
it basically runs on my 323 24/7 or at least every 6 hours
Offline
mastervol wrote:
nzbgetter is probably a similar script with php where i added a few things here and there ...
it basically runs on my 323 24/7 or at least every 6 hours
Mastervol, could you share what you did for nzbgetter please mate?
Thanks muchly!!
Offline