What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

RSS downloader for Transmission?

lytter

New Around Here
Hallo.
First of all, I’m from Denmark so my English will not be perfect, but understandable.

I own the Asus RT-N56U router with PADWAN firmware (3.0.3.6-061). So far so good! I like the firmware and i provide good speeds.

I have e 1.5 TB USB2 drive connected, where all my torrents goes.

I would like some sort of RSS downloader to work with Transmission. I have done some research and FlexGet seems to do the job. It even has an experimental web interface.

I have looked at this guide: http://flexget.com/wiki/InstallWizard/OpenWrt

Do you think it will work?

My goal is:
- To have a low power bittorrent setup
- Automated to some extend
- Stable

Router is running:
- Transmission
- VPN
- FTP
- SMB
- Entware is installed

Another alternative: I have a Raspberry PI running XBIAN (debian based), that i could use to download the torrent files, and transfer them to the Transmission watch folder. I would like to avoid this, since i think the Pi has enough to do playing 1080p.

My Linux skills are not the greatest...

I hope you can help me. :D
 
Last edited:
I followed the guide and flexget is working!

BUT! i can't get crond to work!

Can someone please til me how to do it?

i want to add this to my crond/cron:

*/30 * * * * /opt/bin/flexget --cron

but putting that string in cron -e gives no results.


if i type flexget ind cmd it works and adds the torrents.
 
I followed the guide and flexget is working!

BUT! i can't get crond to work!

Can someone please til me how to do it?

i want to add this to my crond/cron:

*/30 * * * * /opt/bin/flexget --cron

but putting that string in cron -e gives no results.


if i type flexget ind cmd it works and adds the torrents.



Add the following lines to "/etc/storage/started_script.sh" to add the cronjob on each boot;


echo "30 * * * * /opt/bin/flexget" >> /var/spool/cron/crontabs/admin
[ -n "`pidof crond`" ] && killall -q crond
sleep 1
crond
 
Thanks for that!

I have added the script, but i does not seem to output anything to syslog?

Can i somehow test i works(whitout waiting for the next set of series to be released)? and runs. crond is running in the ps list.
 
Forget that!!
it did output!


Jun 11 08:30:01 crond[884]: crond: USER admin pid 1025 cmd /opt/bin/flexget
 
Do i have to start crond manualy when i reboot the router?

After at reboot, it doesnt run the flexget commando, and crond doesnt seem to be on the ps -l list. If i rund crond i comes up on the ps -l list.
 
Do i have to start crond manualy when i reboot the router?

After at reboot, it doesnt run the flexget commando, and crond doesnt seem to be on the ps -l list. If i rund crond i comes up on the ps -l list.

If you copied the commands as listed here to "started_script.sh" it should write the cron to "/var/spool/cron/crontabs/admin" on boot and execute the specified command on the 30th minute of every hour.


echo "30 * * * * /opt/bin/flexget" > /var/spool/cron/crontabs/admin
[ -n "`pidof crond`" ] && killall -q crond
sleep 1
crond
 
Last edited:
i have copied the commands, and i does execute the crond job(if i start crond by typing crond). But the crond processes is not starting by itself after a reboot.

windows has a start folder, is there somehow i can ensure that crond is set to startup when the router reboots?
 
Last edited:
i have copied the commands, and i does execute the crond job(if i start crond by typing crond). But the crond processes is not starting by itself after a reboot.

windows has a start folder, is there somehow i can ensure that crond is set to startup when the router reboots?

This is the 'official' method of using a cronjob on this router. You must be doing something wrong as I use the exact same commands/setup and it works flawlessly on boot.

3ddls.png


3ddiY.png
 
Before i knew about the build in crond i installed it by command "opkg install cron". Then i saw it was wrong and uninstalled it again. Maybe i have distroyed something when i did that.

I will consider resetting the router, and format the usb drive...ZzzZZz.
 
Before i knew about the build in crond i installed it by command "opkg install cron". Then i saw it was wrong and uninstalled it again. Maybe i have distroyed something when i did that.

I will consider resetting the router, and format the usb drive...ZzzZZz.

There is a good chance this could have removed core files from the entware installation and starting fresh would be your best option. In future look at the wiki and even here on SNB for advise rather then blindly make changes.
 
There is a good chance this could have removed core files from the entware installation and starting fresh would be your best option. In future look at the wiki and even here on SNB for advise rather then blindly make changes.

Yes. The wiki is not that newb friendly. But now i know what to do, so i guess the next try will be a lot better.

Thank you for your time. I got me a big step further.
 
Linux has a steep learning cerve, we all have made similar mistakes at one time or another, I know I have for sure :p
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Back
Top