Active Topics

 


Reply
Thread Tools
Posts: 7 | Thanked: 1 time | Joined on Dec 2013 @ Finland
#81
Prey runs perfectly, but can't install fcron.

Warehouse and pkcon install / install-local gives error Installation aborted by user, even I didn't abort it manually. Any suggestions?
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#82
Originally Posted by iltsu View Post
Prey runs perfectly, but can't install fcron.

Warehouse and pkcon install / install-local gives error Installation aborted by user, even I didn't abort it manually. Any suggestions?
$ wget https://openrepos.net/sites/default/...-3.armv7hl.rpm -no-check-certificate
$ devel-su
# zypper in fcron-3.0.6-3.armv7hl.rpm
 

The Following 2 Users Say Thank You to For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#83
Originally Posted by nieldk View Post
$ wget https://openrepos.net/sites/default/...-3.armv7hl.rpm -no-check-certificate
$ devel-su
# zypper in fcron-3.0.6-3.armv7hl.rpm
OK, now this is a bit offtopic since it concerns not prey but fcron.
I am going to ask anyway since it is important in an indirect way though...

So, how can I make cron (fcron in this case) keep real time on Jolla?
I have installed fcron-3.0.6-3 but I noted that it behaves in not so nice way; if my Jolla is sleeping (like, display off) and a crontab event should trigger it just doesn't wake up. The event is missed completely, not even deferred to when the device wakes up I believe.
 

The Following User Says Thank You to juiceme For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#84
@juice Yes, that observation is true. fcron is an attempt to see if it would work better than systemd timers (which also have this issue).
Also, (f)cron would enable prey to change the run schedule.
But.... the device (OS) seems to not adhere to running tasks needs.
Even WLAN seems to still suffer from this sleep issue.
Sadly, I have still to figure out how to fix this.
 

The Following 2 Users Say Thank You to For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#85
Originally Posted by nieldk View Post
@juice Yes, that observation is true. fcron is an attempt to see if it would work better than systemd timers (which also have this issue).
Also, (f)cron would enable prey to change the run schedule.
But.... the device (OS) seems to not adhere to running tasks needs.
Even WLAN seems to still suffer from this sleep issue.
Sadly, I have still to figure out how to fix this.
There has to be a neat way to do this, or else the alarm clock would not work either.

I remember there was some talk of this before, was it so that there are some special libs you need to link your code against to make it not to go to sleep when the device goes to low power mode?
 
Posts: 1,067 | Thanked: 2,383 times | Joined on Jan 2012 @ Finland
#86
Originally Posted by juiceme View Post
There has to be a neat way to do this, or else the alarm clock would not work either.

I remember there was some talk of this before, was it so that there are some special libs you need to link your code against to make it not to go to sleep when the device goes to low power mode?
https://github.com/nemomobile/libiphb allows you periodically wake up from suspended state.
Unfortunately its not that well documented, so you need to look into tests dir and read the sources. And its written in C.

Easier C++ API has luckily been introduced that also allows periodic waking from suspend, so you can for example wake up every 15 or 30 mins:

https://github.com/nemomobile/nemo-k...y_periodic.cpp
__________________
IRC: jonni@freenode
Sailfish: ¤ Qt5 SailfishTouchExample ¤ Qt5 MultiPointTouchArea Example ¤ ipaddress ¤ stoken ¤ Sailbox (Dropbox client) ¤
Harmattan: ¤ Presence VNC for Harmattan ¤ Live-F1 ¤ BTinput-terminal ¤ BabyLock ¤ BabyLock Trial ¤ QML TextTV ¤
Disclaimer: all my posts in this forum are personal trolling and I never post in any official capacity on behalf of any company.

Last edited by rainisto; 2014-06-05 at 07:14.
 

The Following 7 Users Say Thank You to rainisto For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#87
Originally Posted by nieldk View Post
@juice Yes, that observation is true. fcron is an attempt to see if it would work better than systemd timers (which also have this issue).
Also, (f)cron would enable prey to change the run schedule.
But.... the device (OS) seems to not adhere to running tasks needs.
Even WLAN seems to still suffer from this sleep issue.
Sadly, I have still to figure out how to fix this.
There already is a modified meego cron for sailfish which has libiphb included: https://gitorious.org/cron-for-harma...on-3.0pl1.orig

Which makes me wonder why people put packages in repos that are not tested/working as expected in the first place.
 

The Following 2 Users Say Thank You to ade For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#88
Originally Posted by ade View Post
There already is a modified meego cron for sailfish which has libiphb included: https://gitorious.org/cron-for-harma...on-3.0pl1.orig

Which makes me wonder why people put packages in repos that are not tested/working as expected in the first place.
that one has apparently issues aswell.

As for "not test/working as expected"
Well, disable my repo, and do your sh.. yourself.
 
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#89
Originally Posted by nieldk View Post
that one has apparently issues aswell.
Than you might have compiled the wrong code, as it works fine for me.

Well, disable my repo, and do your sh.. yourself.
Well, I do compile a lot myself. I even upload to repos. And it is great that persons like you upload packages so people don't have to compile themselves. But I do run stuff myself for a while to see if it works as expected before uploading.

I would not have mind to look into the issue for you, but given your agressive attitude, I think it is better not to. Nevertheless I hope you can fix the issue for people that did install your fcron.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#90
I know you contribute a great deal, as for my attitude, Apology - but I am a bit tired of certain (not you) ppl and their attitudes also.
As for testing. I do test, and when I feel it could have a certain amount of interrest, I publish, here, or in openrepos.
fcron is an example, it works, but have problems with device goong to sleep.
As so do most of apps and services already present in a released device OS!
Therefore my opinion is, that this issue could be considered minor, considering the benefits of prey and enabling a usefull feature to track a stolen device, or ?
 

The Following 2 Users Say Thank You to For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 02:28.