Follow

How to create a custom crontab entry

Subject:

How to change the root crontab entry

 

Detail:

When Quantastor starts up it will replace the root crontab file and remove any entries that have been added.

To enable a custom root crontab you will need to copy the QuantaStor owned crontab `/opt/osnexus/quantastor/bin/qs_checkservice.sh` to a file called `/var/opt/osnexus/quantastor/qs_custom.crontab` and then add your own custom crontab entries to that file.

Note: the entry for the `/opt/osnexus/quantastor/bin/qs_checkservice.sh` script MUST be present in the crontab.

cp /opt/osnexus/quantastor/bin/qs_checkservice.crontab /var/opt/osnexus/quantastor/qs_custom.crontab

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk