crontab

  1. 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 "...
  2. E

    Cron not sending emails

    The box (PVE1) was installed on top of Debian and recently upgraded to 8.1. Tried (unsuccessfully) setting up postfix after upgrading before learning about the new SMTP notifications system, which was set up successfully and backup jobs send emails as expected. However, cron jobs are not sending...
  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. J

    cron problems

    Hi, my UPS disconnects after a view hours. I found a solution by executing the following script: upsdrvctl stop wait 10 upsdrvctl start now I try to use crontb to start it automaticly. I use: 0 8,20 * * * root /scripts/restart.usv.sh daily but it doesent work. what is wrong ? Thx for help
  5. C

    [SOLVED] Incomplete execution of a backup script

    For a holiday Minecraft event, I have acquired a server through a third party (server at home does not have enough power). And I wanted to make a backup on my PBS every 4 hours, since it is located in my house network I have to connect via VPN to execute the backup and then disconnect again. I...
  6. M

    Cluster node reboot why? Se me reinicia un nodo

    Estimados, tengo problemas con un nodo que se me reinicia, no se si es por algun problema de HARDWARE o por alguna tarea o servicio de UBUNTU. Dejo los logs del nodo y del servicio CRON por si ven algo . Realice un crontab -e y el root no tiene tareas.
  7. 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...
  8. A

    [SOLVED] Cron keep flooding mail

    I did used a contab to get the cpu temp. But when i did used it, i did get flooded with mails from the "postfix" that the crontab was running. I did try to use the next things in crontab to stop the flooding, but nothing did work: * * * * * /root/cpu_temp.sh > /dev/null 2>&1 MAILTO= ""used at...
  9. F

    Noob backup strategy

    TL;DR Is copying the datastore (the files) of PBS to a remote destination a sufficient backup solution? Can I use them files to recreate my VM on a new system if the old fails? How can approach automatically running a rclone command when a backup is done without knowing anything about scripting...

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!