add elasticsearch optimize cronjob