Crontab: cut line to many lines?
- by Heoa
Hard-to-read-line
@daily export sunshine="~/logs/Sunshine-`date '+\%F'`" && export sunshineUrl="http://www.sunshine.net/main/search_results.asp?currency_id=1&min_price=&max_price=50000&country_id=241®ion_id=&Submit=Search" && mkdir -p $sunshine && cd $sunshine && wget --mirror -l 1 $sunshineUrl
Which mark do I need to have it on many lines?
@daily <SOME MARK HERE>
export sunshine="~/logs/Sunshine-`date '+\%F'`" && <SOME MARK HERE>
export sunshineUrl="http://www.sunshine.net/main/search_results.asp?currency_id=1&min_price=&max_price=50000&country_id=241®ion_id=&Submit=Search" && <SOME MARK HERE>
mkdir -p $sunshine && <SOME MARK HERE>
cd $sunshine && wget --mirror -l 1 $sunshineUrl
No success by appending \, //, \n or /n.