Changes

From SME Server
Jump to navigationJump to search
→‎Installation: removed -c conf file from cron job in script
Line 119: Line 119:  
     > /etc/cron.d/$PKG_NAME-cron
 
     > /etc/cron.d/$PKG_NAME-cron
 
  # SME - added redirect stdout to null device and stderr to stdout so we only get error output from cron job
 
  # SME - added redirect stdout to null device and stderr to stdout so we only get error output from cron job
  echo -e "\n25 * * * * root /usr/sbin/$PKG_NAME.sh -c /etc/$PKG_NAME.conf >/dev/null 2>&1" \
+
  echo -e "\n25 * * * * root /usr/sbin/$PKG_NAME.sh >/dev/null 2>&1" \
 
     >>/etc/cron.d/$PKG_NAME-cron
 
     >>/etc/cron.d/$PKG_NAME-cron
 
   
 
   

Navigation menu