Avatar of ZURINET
 asked on

cronjob cannot run

Hi all I need to setup a conjob on FreeBSD

The command I need to run is.. see below
I am getting the error =  php5: not found

0,15,30,45 * * * * cd /home/smallwor/www/mydomainproject.ch/SwiftRiver; php5 index.php --uri=process >> application/logs/process.log 2>&1

Open in new window

I am just woundering if there is a syntax error within this command.

Thanks for your help

the local config file is /usr/local/php53/etc/php-profiles/php53/standard/php.ini
Unix OSPHPApache Web ServerFreeBSD

Avatar of undefined
Last Comment
Amar Bardoliwala

8/22/2022 - Mon
Gerwin Jansen

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Cornelia Yoder

Do you have a line at the top of your cron job telling the system what program should run the cron job?

For example:

Amar Bardoliwala


see if following helps you.



Thank you.

Amar Bardoliwala.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck