3

On my Aquaris E4.5 I have successfully configured syncevolution to synchronise my CardDav Contacts and CalDav Calender entries.

Now I would like to schedule synchronisations. However, since /var/spool/cron is on the root filesystem, which is read only cron does not work, and I do not want to make the root filesystem read-write since I do want to be able to do updates.

Are there plans to maybe move the cron stuff into it's own mountpoint, so it can be made read-write such as many of the other mounts? Or is there some other way of scheduling?

gman
  • 2,276
  • 4
  • 27
  • 39
Thomas
  • 53

1 Answers1

1

From How to autostart a shell script on Ubuntu-touch?

Hacky solution is to create an upstart script in /usr/share/upstart/sessions/ or ~/.config/upstart/ (that is writable)

description "my script"
start on started unity8-dash 

exec /path/to/your/script

and have an infinite loop that makes updates there.

Velkan
  • 3,616
  • Thanks for your answer.

    Since /usr/share/upstart is on the root filesystem too it is read-only as well.

    And since I do not want to set this to read-write, this is not a a feasible solution for me.

    – Thomas May 30 '15 at 12:01
  • Yes, haven't verified that answer. – Velkan May 30 '15 at 12:51
  • I found it myself, I have to place the file in .config/upstart directory, so it can be run in user context. – Thomas May 30 '15 at 13:03