Need full path in order to work on cron

This commit is contained in:
Masaya-A
2021-01-20 12:14:09 +09:00
committed by GitHub
parent 9dd3199ec4
commit 5dad143c42

View File

@@ -1,2 +1,2 @@
#!/bin/bash
logrotate -f /opt/so/conf/log-rotate.conf >/dev/null 2>&1
/usr/sbin/logrotate -f /opt/so/conf/log-rotate.conf >/dev/null 2>&1