Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

Cinnamon trying to cron #71

Open
KlimDos opened this issue Nov 4, 2018 · 1 comment
Open

Cinnamon trying to cron #71

KlimDos opened this issue Nov 4, 2018 · 1 comment

Comments

@KlimDos
Copy link

KlimDos commented Nov 4, 2018

crontab -e

* * * * * /opt/bing-desktop-wallpaper-changer/main.py

syslog

Nov  4 23:46:01 sasha-laptop CRON[14839]: (sasha) CMD (/opt/bing-desktop-wallpaper-changer/main.py)
Nov  4 23:46:12 sasha-laptop kernel: [10414.222821] main.py[14840]: segfault at 0 ip 00007febf73e2799 sp 00007fffd28de850 error 4 in libgtk-3.so.0.2200.30[7febf70ff000+6f1000]

output

Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Segmentation fault (core dumped)

Please, help me to figure out how to set it via cron properly

PS: manual and start afret reboot works perfectly

@KlimDos
Copy link
Author

KlimDos commented Nov 4, 2018

after a quick googling, it sounds related to the permissions and the fact that crontab runs scripts with sudo privileges.

so, the question still open -
how to run this app via cron or how to run crontab as non-root

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant