Crontab Date error

AleksRous

New Member
Joined
Jun 12, 2020
Messages
1
Reaction score
0
Credits
12
What is the problem tell me please

DATE = $ (date + "% Y% m% d")
echo $ DATE

Manually okay !

[oracle @ ch ~] $ DATE = $ (date + "% Y% m% d")
[oracle @ ch ~] $ echo $ DATE
20200612

But the crontab error

line 8: date: command not found
 

Members online


Latest posts

Top