創(chuàng)建一個(gè)sh文件
nano sc.sh
加入代碼(全部需要使用絕對(duì)路徑,否則無(wú)法執(zhí)行)
/usr/local/bin/pelican -s /root/blog/pelicanconf.py /root/blog/content -o /home/wwwroot/codenut.net/web
然后
crontab -e
添加
*/5 * * * * /root/blog/sc.sh >>/root/sc.log 2>&1
完畢,看效果吧.
創(chuàng)建一個(gè)sh文件
nano sc.sh
加入代碼(全部需要使用絕對(duì)路徑,否則無(wú)法執(zhí)行)
/usr/local/bin/pelican -s /root/blog/pelicanconf.py /root/blog/content -o /home/wwwroot/codenut.net/web
然后
crontab -e
添加
*/5 * * * * /root/blog/sc.sh >>/root/sc.log 2>&1
完畢,看效果吧.
I love your blog
I have read this article and enjoyed it
阿里微微外鏈交易平臺(tái)
阿里微微外鏈交易平臺(tái) 阿里微微外鏈交易平臺(tái)誕生于2010年3月25日。 阿里微微外鏈交易平臺(tái)是“網(wǎng)站友情鏈接交易平臺(tái)”,它首次引入“網(wǎng)站友情鏈接是商品”的概念,讓友情鏈接(外鏈)第一次作為商品呈現(xiàn)在站長(zhǎng)交易市場(chǎng)里,方便快捷的滿足廣大站長(zhǎng)外部鏈接建設(shè)的需求。 阿里微微外鏈交易平臺(tái)提供在線注冊(cè)即刻發(fā)布的交易形式,鏈接交易主要有兩種模式:一種是按每月的計(jì)費(fèi)模式、一種是依托阿里微微外鏈交易平臺(tái)鏈接資源中介,站長(zhǎng)之間自助交換友情鏈接模式。 http://www.alivv.com/?uid=3vasUJzi7…