We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
cron: suspend firewall rule
cron: suspend firewall rule
Hello, I am trying to cron run this command works correctly from the console:
sudo /usr/local/vesta/bin/v-suspend-firewall-rule 10
in console works, but cron I get this error:
usr/local/vesta/bin/v-suspend-firewall-rule: line 16: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-suspend-firewall-rule: line 17: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-suspend-firewall-rule: line 24: check_args: command not found
/usr/local/vesta/bin/v-suspend-firewall-rule: line 25: validate_format: command not found
/usr/local/vesta/bin/v-suspend-firewall-rule: line 26: is_system_enabled: command not found
/usr/local/vesta/bin/v-suspend-firewall-rule: line 27: is_object_valid: command not found
/usr/local/vesta/bin/v-suspend-firewall-rule: line 28: is_object_unsuspended: command not found
/usr/local/vesta/bin/v-suspend-firewall-rule: line 36: update_object_value: command not found
/usr/local/vesta/bin/v-suspend-firewall-rule: line 39: /v-update-firewall: No such file or directory
/usr/local/vesta/bin/v-suspend-firewall-rule: line 47: log_event: command not found
you can help me ?
thnks
sudo /usr/local/vesta/bin/v-suspend-firewall-rule 10
in console works, but cron I get this error:
usr/local/vesta/bin/v-suspend-firewall-rule: line 16: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-suspend-firewall-rule: line 17: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-suspend-firewall-rule: line 24: check_args: command not found
/usr/local/vesta/bin/v-suspend-firewall-rule: line 25: validate_format: command not found
/usr/local/vesta/bin/v-suspend-firewall-rule: line 26: is_system_enabled: command not found
/usr/local/vesta/bin/v-suspend-firewall-rule: line 27: is_object_valid: command not found
/usr/local/vesta/bin/v-suspend-firewall-rule: line 28: is_object_unsuspended: command not found
/usr/local/vesta/bin/v-suspend-firewall-rule: line 36: update_object_value: command not found
/usr/local/vesta/bin/v-suspend-firewall-rule: line 39: /v-update-firewall: No such file or directory
/usr/local/vesta/bin/v-suspend-firewall-rule: line 47: log_event: command not found
you can help me ?
thnks