Run "Blank" application from Command Line

I can get a Scriptcase Blank application to run from the command line, but any database functions within that application do not work.
when I run the app directly like “php /public_html/MyApp/MyApp.php”
I get a screen full of CSS code that finishes… but again, any database access within that application does not work.

Anyone know how to get it to actually work from the command line?

Thanks!

Have you ever solved this?

In my past experience, it had to do with not being able to get at the referenced relative include/ require paths.

Ended up using CURL in cron jobs

curl https://mysite.com/myapp/myapp.php

But that will be helpful to you only if you are calling publicly available urls on your app.

1 Like