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 taken that line directly fron "crontabs" file, copy and pasted and edited only ending - target script. :-D It only uses tabulators as spaces, thats why it looks (at this forum) broken.
I have also already tried line, that you have posted here..
I have also checked files, for encoding, it is UTF8 without BOM, so it is correct and same type as original linux files are.
I browsed dozens of pages with that fault, but they refer to missing first script line, or problem with paths in linux :( mostly ..
I am suspicious to problem with paths? But how that could be, if standalone .sh script works ok, if it is run.
EDIT: this is original crontabs file, just for check, i have never edited it or changed its content, before.
I have also already tried line, that you have posted here..
I have also checked files, for encoding, it is UTF8 without BOM, so it is correct and same type as original linux files are.
I browsed dozens of pages with that fault, but they refer to missing first script line, or problem with paths in linux :( mostly ..
I am suspicious to problem with paths? But how that could be, if standalone .sh script works ok, if it is run.
EDIT: this is original crontabs file, just for check, i have never edited it or changed its content, before.
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
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!