I suggest you ...

New Cron Features Run under wrong Directory

In the New Cron Feature if you run a Cron Task it will not run under the correct Directory for that User. So Includes and Requires Fail.

This can be fixed by placing a
cd /home/12953-3963.cloudways…pps.com/username/public_html &&

in front of the php /scripttorun

So a completed version would be

50 6 * * * cd /home/12953-3963.cloudwaysapps.com/username/public_html && php /home/12953-3963.cloudwaysapps.com/username/public_html/nightly.php

1 vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)

We’ll send you updates on this idea

Steve Bullis shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base