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
I want to send Analogj/Scrutiny metrics to another server every minute. This is my crontab:
Usually the crontab contains some commented out stuff with information about how to use it, I did not see it in there. Not sure if that's normal.
When I run the command
Any idea what I am doing wrong or why it is not working?
Thanks in advance!
EDIT: extra information
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:
Code:
@reboot (sleep 60 && echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor)
# Run scrutiny metrics collector and export to Sapphire
# Every minute
* * * * * /opt/scrutiny/bin/scrutiny-collector-metrics-linux-amd64 run --config /opt/scrutiny/bin/collector.yaml
Usually the crontab contains some commented out stuff with information about how to use it, I did not see it in there. Not sure if that's normal.
When I run the command
/opt/scrutiny/bin/scrutiny-collector-metrics-linux-amd64 run --config /opt/scrutiny/bin/collector.yaml
normally in the shell it works fine and the metrics are sent to my other server./opt/scrutiny/bin/scrutiny-collector-metrics-linux-amd64
is the location of the bin for the scrutiny data collector.Any idea what I am doing wrong or why it is not working?
Thanks in advance!
EDIT: extra information