i don't know cron jobs trying work brokerage companies website working on. appreciated. in advance.
i have been given xml datafeed trying update own xml from. given following xml.sh file
cd `dirname $0` echo `date` "importing boats" >> /home/content/91/11071291/html/used-boats/import.log curl -o /home/content/91/11071291/html/used-boats/horizon.xml "https://i-hid-this-address-incase-ishouldnt-share-on-stackoverflow.com?status=on" >> import.log success=$? echo $success if [ $success -ne 0 ]; echo "data download failed. exiting" exit $success fi home/content/91/11071291/html/used-boats/import-local-xml.php >> /home/content/91/11071291/html/used-boats/import.log
when running cron job error:
/bin/sh: -c: line 0: unexpected eof while looking matching `"' /bin/sh: -c: line 1: syntax error: unexpected end of file
the error message says double-quote character ("
) not matched.
the quotes match in question shows, either you've transcribed incorrectly, or error lies within definition of cron job. use crontab -e
edit cron table, , double-check make sure quotes match.
Comments
Post a Comment