Is it possible to run one logrotate check manually?

Vladimir picture Vladimir · Jan 22, 2010 · Viewed 452.4k times · Source

Is it possible to run one iteration of logrotate manually without scheduling it on some interval?

Answer

pilcrow picture pilcrow · Jan 22, 2010

Yes: logrotate --force $CONFIG_FILE