Run without using a state (lock) file

logrotate

logrotate {{path/to/logrotate.conf}} --state /dev/null

click the source code to copy install logrotate on any operating system with command-not-found.com