Hi ,
I have a cronjob which is running perfectly fine from the past one year.
Two days back one of the scripts present in cronjob failed to start, which forced me to run it manually.
Now that script is not running at al, i have to run it manually.
The crontab entries are below.
Can anyone please help?
The script marked in bold and italic failed to run.
15 0 * * * /export/home/ceridwen/bin/run_cdr2daily.sh
#!/bin/sh
2
3 PATH=/cw/bin:/cw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/local/bin:/opt/local/bin
4 export PATH
5
6 ###############################
7 #Changing SME name
8 #/export/home/ceridwen/bin/fix2hicdrs.pl | mailx -s "output of fix2hicdrs.pl"
example@example.com
9 #/export/home/ceridwen/bin/sumAccounting5m.pl | mailx -s "output of Sum Accounting 5m.pl"
example@example.com
10
11 ###### New #################
12 /export/home/ceridwen/bin/fix2hicdrs.pl | mailx -s "output of fix2hicdrs.pl"
13 /export/home/ceridwen/bin/sumAccounting5m.pl | mailx -s "output of Sum Accounting 5m.pl"
14 ###############################
15
16
/export/home/ceridwen/bin/yesterdays_cdr2daily.pl -M SNMP
17 /export/home/ceridwen/bin/yesterdays_cdr2daily.pl -M BULK
18 /export/home/ceridwen/bin/yesterdays_cdr2daily.pl -M JBULK
19 /export/home/ceridwen/bin/yesterdays_cdr2daily.pl -M SUM5M
20 ## /export/home/ceridwen/bin/yesterdays_cdr2daily.pl -M JIPACC
21 /export/home/ceridwen/bin/yesterdays_cdr2daily.pl -M IPACC
22
23 echo "update flags set flagvalue=1 where flagname='ready_for_mail_daily';" | mysql -ucdr cdr
24 echo "update flags set flagvalue=1 where flagname='ready_for_gbag';" | mysql -ucdr cdr
25 echo "update flags set flagvalue=`date +%s` where flagname='ready_for_mail_monthly';" | mysql -ucdr cdr
26 echo "update flags set flagvalue=`date +%s` where flagname='ready_for_mail_billing';" | mysql -ucdr cdr
27 echo "update flags set flagvalue=`date +%s` where flagname='ready_for_push_monthly';" | mysql -ucdr cdr
28 echo "update flags set flagvalue=`date +%s` where flagname='ready_for_push_billing';" | mysql -ucdr cdr
29
30 /export/home/ceridwen/bin/cdraggregate.pl
31