New Zenner
- Join Date:
- Jun 2008
- Location:
- Oregon
- Posts:
- 60
- Plugin Contributions:
- 0
Running custom admin scripts from PHP CLI?
What I want to do: Run a php script in an endless loop from command line (using nohup). The script makes some images with GD library, and takes a while to execute-- running from a browser is too slow.
What it does: It will correctly tell that it is running from CLI and do echo's and other stuff. Then it hits a zen constant, like DIR_WS_CLASSES and spits out a message that it can't find that file.
If I try to load application_top.php it stops execution, and leaves no errors or warnings (that I can find).
Any php guru's have a tip or place to look?
Thanks again!
NiceBadge.com Lifetime guarantee on all badges! Free mock ups, 24 hour turn around time!