Help with a cronjob

  • Posted:
  • Proposals: 6
  • Remote
  • #232281
  • Awarded
Chris D.
Jamie D.Upasana S.Osama Z.Chris H. + 1 other have already sent a proposal.
  • 0


Experience Level: Intermediate
I'm having a problem with the execution of a cronjob. I am trying to run a shell script, which in turn executes a sequence of php files. I've used the exact same method before, on servers from the same company, but for some reason it will not work correctly.

In the email notification that occurs when the cronjob runs I receive this:

/bin/bash: /var/www/vhosts/ /bin/bash^M: bad interpreter: No such file or directory

The ^M seems to relate to carriage returns, but I am not sure this is the only issue.

Please only apply if you have considerable experience of cronjobs being a pain in the neck!

Thank you

New Proposal

Create an account now and send a proposal now to get this project.

Sign up

Clarification Board Ask a Question

    There are no clarification messages.