cron

  1. O

    Issue on proxmox-daily-update for PBS

    Hi all, we are running PBS 3.2.7 and getting an error at cron proxmox-daily-update. Nov 14 08:35:24 pbs001 proxmox-daily-update[1735998]: thread 'UPID:pbs001:001A7D3E:0B938BA7:00000000:6735A838:aptupdate::root@pam:' panicked at...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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
  8. 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!
  9. 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...
  10. 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...
  11. 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 ] &&...
  12. 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...
  13. 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!
  14. 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...
  15. S

    [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...
  16. 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...
  17. 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 &>...
  18. 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...
  19. 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...
  20. 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?

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!