maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   How to install cron? (https://talk.maemo.org/showthread.php?t=96171)

romu 2015-11-17 08:57

How to install cron?
 
Hi,
I would like to run cron the SFOS. I've tried to install cron, crontab, nothing works.

So, obviously, I miss something, but what?

Thanks.

coderus 2015-11-17 09:00

Re: How to run cron?
 
you must google cron usage

romu 2015-11-17 09:09

Re: How to run cron?
 
I know how to use it, it's just I don't find any command on SFOS related to cron. So I guess, I must install some additional packages, but I don't know which ones.

PS: I'll change the thread title.

coderus 2015-11-17 10:38

Re: How to install cron?
 
https://build.merproject.org/package...latest_armv7hl

romu 2015-11-17 10:49

Re: How to install cron?
 
Thanks a lot @coderus.

coderus 2015-11-17 10:51

Re: How to install cron?
 
not me, temev :)

pichlo 2015-11-17 10:56

Re: How to install cron?
 
There is also fcron in Openrepos.

juiceme 2015-11-17 14:14

Re: How to install cron?
 
Heh, that's my vixie cron port :D

Very good and reliable basic crond, I have been using it for longer than an year.

TemeV 2015-11-17 15:00

Re: How to install cron?
 
Yeah, thank Juiceme for that. I just built it in the obs for my own purposes :)

JohnHughes 2015-11-17 18:47

Re: How to install cron?
 
Why not just use a systemd timer unit?

coderus 2015-11-17 19:54

Re: How to install cron?
 
because it not utilizing iphb :)

badpixel 2015-11-18 17:53

Re: How to install cron?
 
Quote:

Originally Posted by coderus (Post 1488408)
because it not utilizing iphb :)

What's 'iphb'? Cannot Google it...

coderus 2015-11-18 18:56

Re: How to install cron?
 
https://git.merproject.org/mer-core/libiphb
https://git.merproject.org/mer-core/nemo-keepalive

juiceme 2018-02-21 16:12

Re: How to install cron?
 
There was an issue on cron on XperiaX and when solving that I found a bug in the implementation that for some reason had never bitten me on Jolla sbj1.

(see https://together.jolla.com/question/...-empty-output/ for description of the problem)

Now I have fixed that and released new RPM's;
http://swagman.org/juice/vixie-cron-3.0pl2-2.src.rpm
http://swagman.org/juice/vixie-cron-...-2.armv7hl.rpm

The new version will also be available in openrepos when @ade gets around updating the files.

ade 2018-02-21 22:01

Re: How to install cron?
 
Thanks a lot for patching, I updated my version on openrepos!

Do note my version on openrepos was/is a bit different (no man pages and the daemon is called crond, not vixie_crond).

In my personal experience, there is a small issue during an upgrade; the service got stopped/disabled.
I don't know for sure, but I think the %preun step in the spec file kicks in unwanted during an upgrade.

Following http://meinit.nl/rpm-spec-prepostpre...rgument-values you can act on argument values to do more specific actions (or no action at all).
I now check some of the conditions in my openrepos RPM, hope it helps for the next update :)


All times are GMT. The time now is 13:53.

vBulletin® Version 3.8.8