Simple RSS Reader inspired by Gxxgle Reader
修订版 | c8fc21f4d5ef4cca59f975e89901a0814bcde463 (tree) |
---|---|
时间 | 2013-07-16 02:25:14 |
作者 | hylom <hylom@hylo...> |
Commiter | hylom |
dist: add cron file
@@ -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 |
@@ -35,7 +35,8 @@ cp -pr backend ${RPM_BUILD_ROOT}%{_datadir}/grrreader/ | ||
35 | 35 | cp -pr client ${RPM_BUILD_ROOT}%{_datadir}/grrreader/ |
36 | 36 | mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/init.d |
37 | 37 | 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 | |
39 | 40 | |
40 | 41 | %clean |
41 | 42 | rm -rf ${RPM_BUILD_ROOT} |
@@ -50,6 +51,7 @@ rm -rf ${RPM_BUILD_ROOT} | ||
50 | 51 | %{_datadir}/grrreader/backend |
51 | 52 | %{_datadir}/grrreader/client |
52 | 53 | %{_sysconfdir}/init.d/grrreader |
54 | +%{_sysconfdir}/cron.d/grrreader | |
53 | 55 | |
54 | 56 | %changelog |
55 | 57 | * Tue Jul 16 2013 Hiromichi Matsushima <hylom at hylom.net> - 0.0.5-1 |