Can I add graceful restart to cron?

#1
Hello everybody,

In openlitespeed we must make manualy graceful restart for affecting changes in htaccess file. For solving this problem I added this line to `/etc/crontab` file.

Code:
* * * * * root /usr/local/lsws/bin/lswsctrl restart
In document said that this command has zero downtime:
1613813239775.png

Is this correct? Is this decrease my servers performance? Thanks.
 
Last edited:
Top