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 10, 2015I have added empty line to both files.. (one in cron.d directory) called playlist
and the second file with script itself called playlist.sh
but result is still
6 * * * * root /usr/local/bin/playlist.sh
and the second file with script itself called playlist.sh
#!/bin/sh
/usr/bin/wget --user=mail@address.com --password=***** http://sledovanitv.cz/vlc/playlist -O /apps/dvblink-tv-server/share/playlist
but result is still
run-parts: failed to exec /etc/cron.d/playlist: Exec format error
run-parts: /etc/cron.d/playlist exited with return code 1
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!