Crontab: cut line to many lines?
Posted
by Heoa
on Stack Overflow
See other posts from Stack Overflow
or by Heoa
Published on 2010-03-17T21:13:08Z
Indexed on
2010/03/17
21:21 UTC
Read the original article
Hit count: 575
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.
© Stack Overflow or respective owner