Issue with converting a cron job to an OEM scheduler job
I am in the process of converting all of our Oracle Linux cron jobs to scheduler jobs in OEM13. I have had no issue with any of the cron jobs until I tried to convert this one:
00 02 * * * /crons/update.scr > /crons/logs/update.`/usr/bin/date +\%a` 2>&1
When i try to paste this line into the OEM Create Job/Parameters tab "Command" box: /crons/update.scr > /crons/logs/update.`/usr/bin/date +\%a` 2>&1
I get this error: Command - The following property is incorrectly specified: %a` 2>&1
That line works successfully if I cut and paste it directly on the oracle linux server. I suspect that OEM does not like the % in the command line. What the cron job does is create a log file called update.<day of the week> Is the % character the cause of the error? What syntax should I use for OEM?