NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Retired_Member
Feb 09, 2015Auto-run of custom unix command (custom wget) on NAS OS
Hello, i am newbie in linux but i know ssh and basic and some advanced commands and i can handle many things with manual :-D Problem is, that i need to execute 1 basic linux command on my NAS unit ...
Retired_Member
Feb 09, 2015Ok thanks very much. :oops: Yes i have discovered a big number of nice manuals, but when i started searching for solution there (i mean writing code inspired by manuals) it became very stressful process.
I have also discovered, that linux VI editor has been probably replaced with its some newer version inside NAS OS 6.1.9 and i am even unable to switch it from command mode to edit mode now. OMG. These newer versions :slap:
So basically when was trying to help myself alone, only other more and more problems and difficulties, have appeared. Yes i am awared, that the source is my lack of skill and experience with unix systems.
So I have created file called "playlist" which is placed inside /etc/cron.hourly/ and contains only this line:
I was not absolutely sure, if script is executed every hour, but i am convinced, because locally saved file (playlist) changes its content regularly and solution works. Yes it would be nicer to run it not exactly on each hour X:00.
I have also discovered, that linux VI editor has been probably replaced with its some newer version inside NAS OS 6.1.9 and i am even unable to switch it from command mode to edit mode now. OMG. These newer versions :slap:
So basically when was trying to help myself alone, only other more and more problems and difficulties, have appeared. Yes i am awared, that the source is my lack of skill and experience with unix systems.
So I have created file called "playlist" which is placed inside /etc/cron.hourly/ and contains only this line:
wget --user=***** --password=*****http://sledovanitv.cz/vlc/playlist -O /apps/dvblink-tv-server/share/playlist
I was not absolutely sure, if script is executed every hour, but i am convinced, because locally saved file (playlist) changes its content regularly and solution works. Yes it would be nicer to run it not exactly on each hour X:00.
Related Content
- Nov 30, 2019Retired_Member
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!