Welcome to the InMotion Hosting
Community Support Center!
It's time to get an answer! Our Customer Community Team monitors questions between 9am - 5pm ET, Monday - Friday!
Remember to ask detailed questions to receive better answers. When necessary, include steps we can take to replicate an issue.
Please keep in mind that your question will be public, so please do NOT post any sensitive information, such as email addresses, usernames, or passwords. Learn more about how to make the most out of our Community Support Center.
Check out these related questions for an answer.Don't see an answer to your question? Click the Ask this Question button to submit it to the Community forum for review.
I have created file backup.sh with this content:
wget -O /dev/null -q –http-user=$1 –http-password=$2 http://localhost:2082/frontend/x3/backup/dofullbackup.html –post-data=”dest=homedir&email=$3&email_radio=1&user=$1&pass=$2″
and a cronjob with this command:
lynx -dump -useragent=/home/myUserName/backup.sh “myUserName” “myPassword” “myEmailAddress”
I also tryed:
lynx -dump -useragent=lynx(/home/myUserName/backup.sh) myUserName myPassword myEmailAddress
I got an email on the corect time, with the following message:
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `lynx -dump -useragent=lynx(/home/myUserName/backup.sh) myUserName myPassword myEmailAddress
and an other one, with previus tests with the following message:
Warning: User-Agent string does not contain "Lynx" or "L_y_n_x"!
Alert!: User-Agent string does not contain "Lynx" or "L_y_n_x"
Can't Access `file://localhost/home/myUserName/myEmailAddress
Alert!: Unable to access document.
lynx: Can't access startfile
What is the correct syntax to make it work?
I am currently on shared hosting, but was wondering if there are any tools in place to move my files/repository/db to a VPS hosting server with minimal hassle, since there is a chance we might need that in the coming months.
Customer support service by UserEcho