File: //proc/self/root/tmp/dateweb_rewrite_growth_cron.cjs
const fs = require('fs');
const file = 'scripts/install-growth-cron.sh';
let s = fs.readFileSync(file, 'utf8');
s = s.replace(/^REPORT_LINE=.*$/m, 'REPORT_LINE="$REPORT_SCHEDULE cd $PROJECT_ROOT && npm run ops:growth-insights >> $LOG_DIR/growth-insights-cron.log 2>&1 && npm run ops:growth-backlog >> $LOG_DIR/growth-backlog-cron.log 2>&1 && bash scripts/growth-report.sh >> $LOG_DIR/growth-report-cron.log 2>&1 && { npm run ops:growth-distribution && npm run ops:local-distribution; } >> $LOG_DIR/growth-distribution-cron.log 2>&1 && { npm run ops:cluster-watch && npm run ops:local-watch; } >> $LOG_DIR/cluster-watch-cron.log 2>&1 # $REPORT_IDENTIFIER"');
fs.writeFileSync(file, s, 'utf8');