We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

Edit timedclient-qt5 cookies

asked 2017-06-17 21:07:12 +0300

Eds gravatar image

updated 2017-06-17 21:09:12 +0300

In this thread I have learned how to use timedclient-qt5 to schedule jobs as a substitute to cron.

Is there a way to edit cookies / jobs after they have been created?

The command timedclient-qt5 --show displays a list of details of all cookies. Is this information stored somewhere in plain text such that it could be edited directly?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
4

answered 2017-06-18 16:34:20 +0300

spiiroin gravatar image

1st off: You are really really really not supposed to modify alarm data manually. There is built in expectation that details bound to a cookie are immutable. When alarms are modified via timed api and it always involves getting a new cookie assigned to the alarm. And modifying alarms "owned" by some other application risks breakage even when done in the correct manner from api point of view.

That said, it goes something like this:

  1. systemctl --user stop timed-qt5
  2. vi /home/nemo/.timed/events.data
  3. (hope that you did not break anything)
  4. systemctl --user start timed-qt5
edit flag offensive delete publish link more

Comments

It might still be easier to just use cron.

At least it does not have these dangerous side-effects :)

juiceme ( 2017-06-19 10:07:06 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2017-06-17 21:07:12 +0300

Seen: 238 times

Last updated: Jun 18 '17