Skip to main content
Topic: Cronjobs are not working for me. please help me. (Read 27 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Cronjobs are not working for me. please help me.

So I've been using artix linux with runit comfortably for the past 2 years and it's been really good all this while. But from last week I've been facing this issue of not getting my cron notifications at all. I also use KDE Connect(with dwm). At first my notifications were working and when they were working i used to get them on my phone but not the cron messages. I am using notify-send with dunst. I used to get the normal notifications pretty well but now that has also changed as the alignment of the notifications are slightly off. (Notification Picture attached below).
here's my crontab entry -
Code: [Select]
XDG_RUNTIME_DIR=/run/user/1000
*/5 * * * * export DISPLAY=:0.0 && export XAUTHORITY=/home/rajat/.Xauthority && sudo -u rajat /usr/bin/dunstify -t 15000 "Who's gonna carry the boats? and the logs?" "$(/usr/bin/shuf -n 1 /home/rajat/.david)" && /usr/bin/aplay -q /home/rajat/.Ding.wav

Here's my dunstrc:
Code: [Select]
[global]
    monitor = 0
    follow = keyboard
    width = 370
    height = 350
    offset = 0x19
    padding = 2
    horizontal_padding = 2
    transparency = 25
    font = Monospace 12
    format = "<b>%s</b>\n%b"

[urgency_low]
    background = "#1d2021"
    foreground = "#928374"
    timeout = 3

[urgency_normal]
    foreground = "#ebdbb2"
    background = "#458588"
    timeout = 5

[urgency_critical]
    background = "#1cc24d"
    foreground = "#ebdbb2"
    frame_color = "#fabd2f"
    timeout = 10