mirror of
https://github.com/Corsinvest/cv4pve-autosnap.git
synced 2026-04-25 08:55:49 +03:00
[GH-ISSUE #32] cv4pve in /etc/cron.d , won't auto start #29
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-autosnap#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @changchichung on GitHub (Apr 17, 2020).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/32
OS: debian 9
PVE Version: pve-manager/5.4-10/9603c337
cv4pve version: 1.7.2
I changed backup method from eve4pve to cv4pve couple days ago.
using the same way , add a file in /etc/cron.d , with almost the same content , except the snapshot command.
but cv4pve wont take snapshot at the specified time in crontab.
I have no idea why .
I could run the command in prompt without problems , but it just won' start in crontab
here is /etc/cron.d/cv4pve-autosnap
in /var/log/cron.log , it shows the command already been executed.
but pve didnt see the sanpshot.
any suggestions ??
@franklupo commented on GitHub (Apr 17, 2020):
Hi,
if you use the command line does it work?
@changchichung commented on GitHub (Apr 17, 2020):
yes. it works.
@franklupo commented on GitHub (Apr 17, 2020):
The new version using Api web.
Which user do you use? Permission Problem?
@changchichung commented on GitHub (Apr 17, 2020):
root , should not be permission problem.
@franklupo commented on GitHub (Apr 17, 2020):
Paths?
@changchichung commented on GitHub (Apr 20, 2020):
yes , it's related to the path , I put cv4pve-autosnap in /usr/local/bin , but debian 9 search in /usr/local/sbin by deault .
@franklupo commented on GitHub (Apr 20, 2020):
Hi, remember that this version can be run externally to Proxmox VE.
Best regards