Hi,
I set up a cron command at Web GUI, like "ssh ... cat remote_file > local_backup", but local_backup file remained empty.
I looked into /etc/crontab and found ">/dev/null 2>&1" on the tail of the command, so I replaced ">" with "| tee" (i.e. "ssh ... cat | tee local"), and it seems to work now.
Are there any better workaround?
I set up a cron command at Web GUI, like "ssh ... cat remote_file > local_backup", but local_backup file remained empty.
I looked into /etc/crontab and found ">/dev/null 2>&1" on the tail of the command, so I replaced ">" with "| tee" (i.e. "ssh ... cat | tee local"), and it seems to work now.
Are there any better workaround?