[Owncloud] CronJob System within ownCloud

Tom Needham tom at owncloud.com
Mon Jul 23 10:30:49 UTC 2012


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.

Tom

Tom Needham
tom at owncloud.com



On 23 Jul 2012, at 10:03, Arthur Schiwon wrote:

> 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.
> 
> http://pear.php.net/package/System_Daemon/
> 
> Cheers
> Arthur
> 
> On 07/22/2012 05:38 PM, Jakob Sack wrote:
>> Hi all,
>> 
>> after the sprint in Stuttgart I talked with Jörn Friedrich Dreyer about
>> the background job problem. If I remember correctly the two most
>> important suggestions were (a) using cron and (b) using long time
>> polling/ajax.
>> 
>> I'd suggest extending (or rewriting) "my" background jobs app so that it
>> can make use of both cron jobs and ajax polling. Then the app can choose
>> the best option out of:
>> 1) using cron (++)
>> 2) using some internet cron service (open the page x every y minutes) (+)
>> 3) long time polling when the users are on the page (-)
>> 
>> The reasons for my rating: A normal cron job does not rely on the
>> limitations that apache might have (memory limit, time limit). An
>> internet cron service has these limitations, but it works 24/7. Option 3
>> runs only when users are online which is bad if you rely on having
>> certain tasks done at a given time.
>> 
>> What do you think?
>> Regards,
>> 
>> Jakob
>> 
>> Am 22.07.2012 17:13, schrieb Alessandro Cosentino:
>>> I need a cron job system for news app too. The use case is the
>>> following: if the user doesn't check the reader for a long time, he
>>> might miss some items that might have been in the feed and then been
>>> removed. This happens with feeds that have frequent updates.
>>> 
>>> I know that Jakob is working on this.
>>> 
>>> Alessandro
>>> 
>>> On Sun, Jul 22, 2012 at 9:00 AM, Georg Ehrke
>>> <ownclouddev at georgswebsite.de> wrote:
>>>> Hi all,
>>>> I was just wondering if someone is working on a kind of cronjob
>>>> system for ownCloud.
>>>> I know that there is the background job app by Jakob, but this app
>>>> requires an entry in the crontab file.
>>>> I am currently working on remote calendars and it would be quite
>>>> useful to have a cron job system, to automatically update the remote
>>>> calendars.
>>>> It would actually work without a cronjob system, if you update them
>>>> if the user is using the calendar, but a cronjob system would make it
>>>> more comfortable.
>>>> 
>>>> But there are some planned features, that wouldn't work without a
>>>> cronjob system.
>>>> An Example would be an automatic e-mail reminder before an event starts.
>>>> 
>>>> Does anybody has a clue on how I could solve this problem without
>>>> making an entry in the crontab file a hard dependency?
>>>> 
>>>> Cheers,
>>>> Georg Ehrke
>>>> _______________________________________________
>>>> Owncloud mailing list
>>>> Owncloud at kde.org
>>>> https://mail.kde.org/mailman/listinfo/owncloud
>>> _______________________________________________
>>> Owncloud mailing list
>>> Owncloud at kde.org
>>> https://mail.kde.org/mailman/listinfo/owncloud
>> 
>> _______________________________________________
>> Owncloud mailing list
>> Owncloud at kde.org
>> https://mail.kde.org/mailman/listinfo/owncloud
> 
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120723/ccb15dcd/attachment.html>


More information about the Owncloud mailing list