ashish-yadav11 / dwmblocks

Rewrite of dwmblocks with added features including clickability, cursor hinting and color.
ISC License
212 stars 30 forks source link

`sigdmwblocks` doesn't seem to do anything when invoked from cron #46

Closed Dook97 closed 1 year ago

Dook97 commented 1 year ago

As the title says, calling sigdwmblocks from a cron job doesn't seem to have any effect. Using kill SIGRTMIN+signal $(pgrep dwmblocks) works just fine though.

ashish-yadav11 commented 1 year ago

Why would you call sigdwmblocks from a cronjob, when dwmblocks itself has periodic updates? Anyway, it might be due to some security related constraints put on jobs started from cron. I will see if I can do something.

Dook97 commented 1 year ago

Why would you call sigdwmblocks from a cronjob, when dwmblocks itself has periodic updates?

Because I want to execute sigdwmblocks right after calling another program.

Dook97 commented 1 year ago

Welp, turns out I'm just retarded and didn't realize that cron's PATH differs from user's, which is why it didn't find the sigdwmblocks executable.

Sorry to have bothered you. Closing.

ashish-yadav11 commented 1 year ago

No problem.