This repository has been archived by the owner on Jul 1, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. makerss 스크립트 업데이트 2. yaml 대신에 원본 방식 그대로 쓰도록 3. crontab과 tz 제거, 호스트의 cron이나 스케쥴러를 사용하세요. 4. 로그도 제거
- Loading branch information
Showing
6 changed files
with
18 additions
and
322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
#!/bin/sh | ||
|
||
su - makerss -c "echo [ $(date "+%F@%T") ] Running makerss.py >> /config/makerss.log" | ||
su - makerss -c "export PYTHONIOENCODING=utf-8; python /makerss/makerss.py" | ||
su - makerss -c "export PYTHONIOENCODING=utf-8; cd /config && python makerss_main.py && mv *.xml /rssxml/" | ||
|
||
exit 0 |