CronJob Could not open input file:


#1

I ve been trying to set up a cron job using dreamhost cpanel for almost 3 days already as u might guess no luck so far. I ve been seraching google and this forum as well looking for information, many solutions to other are not working for me.

I have a file within my web root for example

[quote]<?php
echo "File Path = ".$_SERVER[“SCRIPT_FILENAME”];
?>[/quote]
output:
File Path = /home/wi****n34/domain.com/cron/cron.php

so I tried with the following command line:

but i keep receiving this email with the following:


#2

thanks for the reply.

simple solution was on User > edit > edit > shell type.

I had bin/bash I changed to usr/bin/zsh. Booom started working right away