cronjob

  1. K

    Cronjobs not executing

    Hi, I'm trying to setup a nightly cronjob to put my server to sleep. It doesn't execute, but works fine using the command line. Syslog doesn't give me anything, neither does journalctl. I tried increasing the log level but that doesn't change things either. ➜crontab -e # /etc/crontab...
  2. R

    [SOLVED] Crontab not working

    Hello! I have problems related to cron in Proxmox VE 8.1 see below file crontab -e 30 12 * * * /backup.sh 00 21 * * * /backup.sh file backup.sh ------------------------------------- #!/bin/bash INICIO=`date +%d/%m/%Y-%H:%M:%S` LOG=/var/log/rsync/`date +%Y-%m-%d`.txt echo " " >> $LOG echo "...
  3. L

    Problem getting crontab to work

    Hello all, I am very new to proxmox, but have a couple years experience admining my homelab linux server. I added a cronjob to crontab with crontab -e. I want to send Analogj/Scrutiny metrics to another server every minute. This is my crontab: @reboot (sleep 60 && echo "powersave" | tee...
  4. L

    Does cronjob work when quorum is not available?

    Hello, I have a three node cluster (n1, n2, n3). n1 and n3 are always running, n2 is kind of a cold standby. I just wrote a short script, where n1 or n3 are powering n2 on, when each other node is not available. It's my intention to have a valid quorum (2 of 3). The script works perfectly when...
  5. G

    SPAM Report stündlich wenn neue Objekte

    Hi ich habe PMG ganz frisch im Einsatz und konnte vieles durch die Doku schon alleine lösen auch einen Stündlichen Spam Report an die User was mit Cronjob gelöst wurde. Allerdings sendet PMG immer ein Report außer es befinden sich keine Mails vom User in der Quarantäne oder SPAM. gibt es die...
  6. P

    [SOLVED] Crontab does not work

    Hi, I'm trying to autostart a VM every 5 min in case my users accidentally shut down it. I added a line "qm start 900" by editing crontab but it doesn't work. When I type "systemctl status cron", it seems it's calling the "qm start" command, but the session closes everytime. There are some...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!