• Shutdown via crontab not working


    So far I am liking Antergos. I have an issue with scheduling system shutdown via crontab. I am using lightdm. If I issue /usr/bin/systemctl poweroff from command line the system shutdown is fine but not from crontab. Here is my crontab entry
    02 11 * * * /usr/bin/systemctl poweroff >/dev/null 2>&1

    I have also tried it as root. Any idea/suggestions to understand what is going on? Below is my system info.

    OS: Antergos
    Kernel: x86_64 Linux 4.14.14-1-ARCH
    Uptime: 17m
    Packages: 1183
    hell: bash 4.4.12
    Resolution: 3840x1200
    WM: GNOME Shell
    WM Theme: Numix-Frost
    GTK Theme: Numix-Frost-Light [GTK2/3]
    Icon Theme: Numix-Square
    Font: Cantarell 11
    CPU: Intel Core i7-4790K @ 8x 4.4GHz [27.8°C]
    GPU: GeForce GTX 1060 3GB
    RAM: 1848MiB / 32048MiB

    Thank you.

  • May make use of systems timers without Cron?

shutdown31 crontab2 Posts 3Views 342
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.