Need full path in order to work on cron

This commit is contained in:
Masaya-A authored and GitHub committed 2021-01-20 12:14:09 +09:00
1 parent 9dd3199ec4
commit 5dad143c42
1 file changed
+1 -1
+1 -1
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