I use a short bash script to create logs three days out. It runs every night. I go a couple days out so people can check the day before to see if they need to fix anything.

[rd@khrb_rd1 ~]$ crontab -l
20 02 * * * /home/rd/scripts/LogGen.sh >/dev/null 2>&1

[rd@khrb_rd1 ~]$ less /home/rd/scripts/LogGen.sh
#!/bin/bash

#  Create RD logs for 3rd day
#  change after -s to <service>

export DISPLAY=:0
/usr/bin/rdlogmanager -g -s KHRB -d 2
exit 0

/home/rd/scripts/LogGen.sh (END)


HTH,
Michael



chris cottingham wrote on 8/22/22 9:49 AM:
Has anyone been able to automate scheduler/log generation? If so, how?

I want to autogenerate the next days logs at a specific time each day. I would 
really like to know how to script it into a cron job or something similar.

Thanks!!

_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to