• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Simple RSS Reader inspired by Gxxgle Reader


Commit MetaInfo

修订版c8fc21f4d5ef4cca59f975e89901a0814bcde463 (tree)
时间2013-07-16 02:25:14
作者hylom <hylom@hylo...>
Commiterhylom

Log Message

dist: add cron file

更改概述

差异

--- /dev/null
+++ b/cron
@@ -0,0 +1,3 @@
1+# crontab
2+# MM HH DD MM WE CMD
3+30 * * * * root cd /usr/share/grrreader/backend; /usr/bin/python feedfetcher.py > /dev/null
--- a/dist/grrreader.spec
+++ b/dist/grrreader.spec
@@ -35,7 +35,8 @@ cp -pr backend ${RPM_BUILD_ROOT}%{_datadir}/grrreader/
3535 cp -pr client ${RPM_BUILD_ROOT}%{_datadir}/grrreader/
3636 mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/init.d
3737 install -m 755 initscript ${RPM_BUILD_ROOT}%{_sysconfdir}/init.d/grrreader
38-
38+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.d
39+install -m 644 cron ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.d/grrreader
3940
4041 %clean
4142 rm -rf ${RPM_BUILD_ROOT}
@@ -50,6 +51,7 @@ rm -rf ${RPM_BUILD_ROOT}
5051 %{_datadir}/grrreader/backend
5152 %{_datadir}/grrreader/client
5253 %{_sysconfdir}/init.d/grrreader
54+%{_sysconfdir}/cron.d/grrreader
5355
5456 %changelog
5557 * Tue Jul 16 2013 Hiromichi Matsushima <hylom at hylom.net> - 0.0.5-1