I'm newbie play with Linux so I do apologize for maybe a silly question. The thing is that I'm trying to carry out a job execution automatically at 20 minutes every hour.
- I create an sh file in my scripts folder:
.#!/bin/sh cd /home/ubuntu/scripts/dm-customer &&
1.1 I transform the sh file as executable :
- chmod 755 etl-execution.sh
chmod +x etl-execution.sh
Now I typed crontab -e and add a line :
- 55 * * * * ubuntu /home/ubuntu/scripts/dm-customer/etl-execution.sh
Then my cron should be triggered automatically but rather nothing is going on. I tried to:
- Edit my crontab -e using
rootbut nothing happens
- If I execute manually the sh in my ubuntu session it goes thru I really don't understand.
I appreciate any feedback this is driving me crazy. thanks