moocowmoo / dashman

DASH wallet/daemon management utilities
MIT License
52 stars 38 forks source link

dashman update -y #31

Open Solaso opened 6 years ago

Solaso commented 6 years ago

I have a cron 0 1 * /home/user/dashman/dashman update -y >> /home/user/log.log 2>&1 But update didnt work in the cron. How to use autoupdate in the cron? Manually start dashman update -y works fine. Thank you Log of the cron

^[[33m --> Checksumming dashcore-0.12.2.1-linux64.tar.gz... ^[[0mtput: No value for $TERM an$ ^[[32mDONE!^[[0m ^[[33m --> Unpacking dashcore-0.12.2.1-linux64.tar.gz... ^[[0mtput: No value for $TERM and n$ ^[[33m --> Stopping dashd. Please wait...^[[0mtput: No value for $TERM and no -T specified ^[[32mDONE!^[[0m ^[[33m --> Removing old version... ^[[0mtput: No value for $TERM and no -T specified ^[[32mDONE!^[[0m mv: cannot stat 'dashcore-0.12.2/bin/dashd': No such file or directory mv: cannot stat 'dashcore-0.12.2/bin/dash-cli': No such file or directory mv: cannot stat 'dashcore-0.12.2/bin/dash-qt': No such file or directory ^[[33m --> Launching dashd... ^[[0mtput: No value for $TERM and no -T specified ^[[32mDONE!^[[0m ^[[33m --> Waiting for dashd to respond...^[[0mtput: No value for $TERM and no -T specified ^[[33m^[[32mDONE!^[[0m ^[[33m --> updating sentinel... ^[[0mtput: No value for $TERM and no -T specified ^[[32mDONE!^[[0m ^[[33m --> updating crontab... ^[[0mtput: No value for $TERM and no -T specified ^[[32mDONE!^[[0m ^[[31mdash version 0.12.2.0 is not up to date. (0.12.2.1) Exiting.^[[0m