Linux.com

ez publish on rackspace cloud

Link to this post 22 Apr 11

I am running ezpublish on rackspace cloud , and I dont get command line control, I set up a cronjob via their web control panel where I can set up a scheduled task. execute every 5 minutes and run runcronjobs.php from the root of the eZpublish install directory which in my case is:

/mnt/stor7-wc2-dfw1/521729/xxx.xxx.com/web/content/runcronjobs.php

where "/mnt/stor7-wc2-dfw1/521729/xxx.xxx.com/" is prepanded path , we allow only to give file name only, in our case "runcronjobs.php" , so we have to put "web/content/runcronjobs.php" which is cause of error (I guess)., is it correct format of cronjob ?

Link to this post 22 Apr 11

Test with:

"[b]./[/b]web/content/runcronjobs.php"

Without the ./ the reference is not relative.

Edit: do you get any error messages or anything?

Link to this post 27 Apr 11

Thanks for reply but using of "./" , it will take ....
/usr/bin/php /mnt/stor7-wc2-dfw1/521729/xxx.xxx.com/./web/content/runcronjobs.php
error : An unexpected error has occurred

we can use only script name with path. i.e. web/content/runcronjobs.php

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board