Domain kwinzi.co.uk.
IP address: Not known.
Hi there.
I have set up a shell script which I am trying to run via cron. The first lines of the script are..
#!/bin/sh
/usr/bin/mysqldump....
When it runs I get the error
/bin/sh /home/myusername/scriptname.sh: /bin/sh
:bad interpreter: No such file or directory
I also tried #!/bin/bash and get the same error except it says sh: /bin/bash (as you'd expect!)
My question is what do I need to do to tell it what interpreter to use?
Thanks,
BTW, I've been live now for just over a week and have put in place a monitoring service. 100% uptime and response time from the UK mostly less than 1/10th of a second. Fantastic service so far - thanks very much.


Reply With Quote

