<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">My experience with System_Demon hasn't been great. I found that the daemons can be very unstable and unpredictable, and so to run in production you really need something like Supervisord to watch over it and restart when necessary.<div><br></div><div>Tom</div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Tom Needham<br><a href="mailto:tom@owncloud.com">tom@owncloud.com</a><br><br><br></span>
</div>
<br><div><div>On 23 Jul 2012, at 10:03, Arthur Schiwon wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Did you consider the option of a daemon? That could provide even a bit more flexibility and people wouldn't need to change anything on the server.<br><br><a href="http://pear.php.net/package/System_Daemon/">http://pear.php.net/package/System_Daemon/</a><br><br>Cheers<br>Arthur<br><br>On 07/22/2012 05:38 PM, Jakob Sack wrote:<br><blockquote type="cite">Hi all,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">after the sprint in Stuttgart I talked with Jörn Friedrich Dreyer about<br></blockquote><blockquote type="cite">the background job problem. If I remember correctly the two most<br></blockquote><blockquote type="cite">important suggestions were (a) using cron and (b) using long time<br></blockquote><blockquote type="cite">polling/ajax.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'd suggest extending (or rewriting) "my" background jobs app so that it<br></blockquote><blockquote type="cite">can make use of both cron jobs and ajax polling. Then the app can choose<br></blockquote><blockquote type="cite">the best option out of:<br></blockquote><blockquote type="cite">1) using cron (++)<br></blockquote><blockquote type="cite">2) using some internet cron service (open the page x every y minutes) (+)<br></blockquote><blockquote type="cite">3) long time polling when the users are on the page (-)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The reasons for my rating: A normal cron job does not rely on the<br></blockquote><blockquote type="cite">limitations that apache might have (memory limit, time limit). An<br></blockquote><blockquote type="cite">internet cron service has these limitations, but it works 24/7. Option 3<br></blockquote><blockquote type="cite">runs only when users are online which is bad if you rely on having<br></blockquote><blockquote type="cite">certain tasks done at a given time.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What do you think?<br></blockquote><blockquote type="cite">Regards,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Jakob<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Am 22.07.2012 17:13, schrieb Alessandro Cosentino:<br></blockquote><blockquote type="cite"><blockquote type="cite">I need a cron job system for news app too. The use case is the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">following: if the user doesn't check the reader for a long time, he<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">might miss some items that might have been in the feed and then been<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">removed. This happens with feeds that have frequent updates.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I know that Jakob is working on this.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Alessandro<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On Sun, Jul 22, 2012 at 9:00 AM, Georg Ehrke<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><ownclouddev@georgswebsite.de> wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi all,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I was just wondering if someone is working on a kind of cronjob<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">system for ownCloud.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I know that there is the background job app by Jakob, but this app<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">requires an entry in the crontab file.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I am currently working on remote calendars and it would be quite<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">useful to have a cron job system, to automatically update the remote<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">calendars.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">It would actually work without a cronjob system, if you update them<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">if the user is using the calendar, but a cronjob system would make it<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">more comfortable.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">But there are some planned features, that wouldn't work without a<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">cronjob system.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">An Example would be an automatic e-mail reminder before an event starts.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Does anybody has a clue on how I could solve this problem without<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">making an entry in the crontab file a hard dependency?<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Cheers,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Georg Ehrke<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Owncloud mailing list<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Owncloud@kde.org<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">https://mail.kde.org/mailman/listinfo/owncloud<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Owncloud mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Owncloud@kde.org<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">https://mail.kde.org/mailman/listinfo/owncloud<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Owncloud mailing list<br></blockquote><blockquote type="cite">Owncloud@kde.org<br></blockquote><blockquote type="cite">https://mail.kde.org/mailman/listinfo/owncloud<br></blockquote><br>_______________________________________________<br>Owncloud mailing list<br>Owncloud@kde.org<br>https://mail.kde.org/mailman/listinfo/owncloud<br></div></blockquote></div><br></div></body></html>