Tuesday, January 29, 2013

Re: Best practice to call "cake schema update" without shell

The hoster is 1&1 (Business Pro Shared Host). Ive already tried
accessing the shell via ssh, but it seems Ive no right for that.

I would like to call "cake schema update" on a scheme I have uploaded
to the production/presentation server which is currently in testing
state (so db changes are common). In an optimum way, I would to
migrate the db within the admin-interface with a simple click.

Do you have any hint how I could accomplish this on the given 1&1
host?

Thanks,
Frank



On Jan 29, 10:51 am, euromark <dereurom...@gmail.com> wrote:
> It can. If you got sufficient rights to do that (executable rights for this
> user - www-data probably).
> But I am not sure if thats a very good idea.
> Why not providing shell access here?
>
> Am Dienstag, 29. Januar 2013 05:59:51 UTC+1 schrieb LDSign:
>
>
>
>
>
>
>
>
>
> > Hi
>
> > I would like to call a shell command on a prdouction server without
> > shell access. Whats the best practice of doing that? Can a shell-
> > command being called from a controller?
>
> > Thank you,
> > Frank

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: