My cron and scripting skills are very poor, but I need to run a job every 5 minutes by user 'cpc'. So I created a script and left it at /root.
My crontab -e entry about it is:
0-59/5 * * * * /root/bi-kettle.sh
And this script (bi-kettle.sh) is:
#!/bin/bash
su cpc
cd /home/cpc/data-integration
/bin/bash kitchen.sh -rep="01" -job="MainLoad" -user="admin" -pass="admin" -level="Basic"`
But it is not called or run at any moment. What am I missing here?
Thanks in advance!
/bin/bash, without the she-bang#!.