cron

  1. M

    Proxmox Crashes overnight.

    Hello everyone, First time posting on this forum, if I shouldn't post this here just let me know. I now have a Proxmox Server in my HomeLab for about 2 weeks. I made a install of the newest Proxmox VE 8.1. I changed the update Server to No-Subscription. I didn't change anything else in the...
  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. M

    [SOLVED] Unable to start CT using CRON

    Hello everyone! This is my first post here, so apologies if I get something wrong. Here's my issue: I have a container running Folding@Home that I want to shutdown during the night to reduce noise levels. My current cron looks like this: 0 9 * * * /usr/bin/lxc-start 5001 0 0 * * * lxc-stop...
  5. 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
  6. T

    [SOLVED] Hi there! Can we have the cron format in GUI back?

    Hi, like the title says, it'd be cool to have cron formating as an option in UI. I validated the formatting by using https://crontab.guru/#00_01_*_*_Wed,Sun Happy to hear from you soon and keep up the good work!
  7. T

    [SOLVED] Trim cronjob not working - PVE 7.3.4

    Just wondering if anyone else has the same problem. In the default install I can see there are two cron jobs; one for scrubbing and one for triming: nano /etc/cron.d/zfsutils-linux I wanted to check that these jobs actually do something so I manually ran the following commands in the...
  8. Y

    PBS Hourly backup

    Hello, I have configured PBS as per attachment, I would like to have backups every two hours and keep the last 12 in order to have a backup every two hours of a whole day. Also you want to keep the last 7 days, 4 weeks and last 6 months. Now, the backup task starts only once a day at the...
  9. B

    Komisches CRON-Verhalten seit Update auf 6.3-6

    Gestern habe ich auf Proxmox 6.3-6 geupdated, seitdem läuft jede Stunde ein Cronjob, der sich merkwürdig verhält: Apr 22 15:30:01 server1 CRON[19416]: pam_unix(cron:session): session opened for user root by (uid=0) Apr 22 15:30:01 server1 CRON[19417]: (root) CMD ([ -x /etc/init.d/anacron ] &&...
  10. DynFi User

    [SOLVED] Changing owner and cron backup of directory

    I am pulling my hair trying to have a cron based backup setup. First I am trying to have this command working without being croned and it doesn't! The global semantic with the proxmox-backup-client is really very confusing. I have managed to do the initial backup using root@pam account with...
  11. U

    Crontab and Updates

    Hello, Will user modifications to crontab be overwritten during Proxmox VE updates? Are there best practices on configuring repeating tasks within Proxmox VE that is outside of cron/crontab? Thanks!
  12. S

    disabling crontab mail notifications

    Hi everyone, about a month ago I wrote 2 crontab entries to run every 30 seconds (used to upload some data). Everything worked fine, until yesterday I opened my spam mail folder and found more than 86,400 mails (XD). every time the cron service runs an email regarding the job is sent, and this...
  13. J

    [SOLVED] Crontabs/cronjobs not working

    Hello everyone, i am currently facing a problem where I have some entries in my crontab (crontab -e) and in /etc/crontab. These lines or commands work on their own when I execute them via the web shell, but cron just does not execute them. there is no mail in /var/mail and no other indication...
  14. B

    Hourly cronjob warning

    Hello there, I've been getting a strange error message every hour with the cleanup cronjob for some days now and I can't quite examine what that job even does, neither what could be wrong with it. This is the content of the email I get: Subject: Cron <root@bvlgy-pve> cd / && run-parts --report...
  15. S

    Simple reset script - ping

    I noticed that there does not seem to be a simple reset / reboot script for problematic clients so I made one. Copy / Paste this to autorestart-vm1100.sh using nano #! /bin/bash # Replace VM id number and IP address with your own "VM" id number and IP address ping -c 1 10.168.100.100 &>...
  16. M

    CronJob um VM automatisch "Starten" zu lassen

    Sehr geehrte Forenmitglieder, ich bin Neuling und habe soweit alles hinbekommen, wie ich es wollte und mit Hilfe des tollen Forums. Was ich leider überhaupt nicht verstehe und hinbekomme ist das automatische starten einer VM per Cron. Wie kann ich das lösen? Was ich wohl weiss ist das der...
  17. A

    how to disable cronjob e-mail alerts?

    hello I have configured e-mail alerts on the pve hosts and they are successfully being sent to the root account (which then forwards to my real e-mail account). What I’m trying to figure out is how to disable e-mail alerts sent by cron. If that’s not possible, can I somehow disable only zfs...
  18. J

    Changing spam report date

    I am wanting to change the spam report time from 00:00 to something else. I can't find any solid info on this, nor can I find a task for this (that I can decipher) from the debian crons. Does anyone know where this is set?
  19. M

    Run server backup job

    Hi all: I defined a backup job who runs via cron, but i dont know how can i run this job manually (from proxmox web interface) is this possible ? thanks in advance
  20. M

    Cron Jobs not working inside LXC

    Hello, I found that the cron jobs is not working inside the LXC , I'm using SoYouStart OVH server Virtual Environment 5.1-46 PVE 4.13.13-35 is there something wrong ?

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!