
Hello, that Issue (https://github.com/bit-team/backintime/issues/931) is an opportunity for me to learn about DBus. It is far beyond my knowledge. The problem is something in the context of crontab and DBus. I know what crontab is and why BiT need it. I have heard about DBus and have an idea about what it is. But I don't understand why BiT need it and how it fits into the context of crontab. DBus is about interproces communication. But the piece of code IMHO relevant to the linked issue just try to manipulate the crontab. This is a simple job on a file. Which whom tries BiT communicate here? ;) Kind Christian

how it [DBus] fits into the context of crontab.
crontab and DBus are indirectly related in BiT by the use cases that BiT covers, eg. shutting down the computer after having taken a snapshot (probably scheduled via cron[tab]) To find out all functions that DBus provides and that are called in BiT see the source code, eg: Query battery status: https://github.com/bit-team/backintime/blob/master/common/tools.py#L479 Shut down computer: https://github.com/bit-team/backintime/blob/master/common/tools.py#L1522 Compare: Read and write crontab file do not directly use DBus. https://github.com/bit-team/backintime/blob/master/common/tools.py#L1214

how it [DBus] fits into the context of crontab.
crontab and DBus are indirectly related in BiT by the use cases that BiT covers, eg. shutting down the computer after having taken a snapshot (probably scheduled via cron[tab]) To find out all functions that DBus provides and that are called in BiT see the source code, eg: Query battery status: https://github.com/bit-team/backintime/blob/master/common/tools.py#L479 Shut down computer: https://github.com/bit-team/backintime/blob/master/common/tools.py#L1522 Compare: Read and write crontab file do not directly use DBus. https://github.com/bit-team/backintime/blob/master/common/tools.py#L1214
participants (2)
-
c.buhtz@posteo.jp
-
python@altfeld-im.de