Giter Site home page Giter Site logo

Comments (1)

Silesse avatar Silesse commented on June 8, 2024

Changing my user (siva) cron to:
#!/bin/bash
0 * * * * env TERM=xterm-256color PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl DISPLAY=:0 DESKTOP_SESSION=plasma DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus" /usr/bin/dwall -s sol

results in the following from systemctl cronie.service ...
● cronie.service - Periodic Command Scheduler
Loaded: loaded (/usr/lib/systemd/system/cronie.service; enabled; preset: disabled)
Active: active (running) since Tue 2023-09-26 21:42:17 BST; 31min ago
Main PID: 626 (crond)
Tasks: 1 (limit: 6946)
Memory: 3.0M
CPU: 345ms
CGroup: /system.slice/cronie.service
└─626 /usr/bin/crond -n

Sep 26 22:00:01 hplaptop14dk0xxx CROND[8025]: (siva) CMDOUT ([*] Using style : sol)
Sep 26 22:00:01 hplaptop14dk0xxx CROND[8025]: [141B blob data]
Sep 26 22:00:01 hplaptop14dk0xxx CROND[8025]: [22B blob data]
Sep 26 22:00:01 hplaptop14dk0xxx CROND[8025]: (siva) CMDEND (env TERM=xterm-256color PATH=/usr/local>
Sep 26 22:00:01 hplaptop14dk0xxx CROND[8025]: pam_unix(crond:session): session closed for user siva

The wallpaper still does not change
Autostart is working just fine

(edit)
Trying to make a systemd service gives me an Invalid environment assignment (ignores /usr/bin/dwall , -s , and sol)
I'm guessing there's another env variable I need? Or maybe I've just typed one wrong and staring at them for so long has driven me crazy...

from dynamic-wallpaper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.