PHP Fog Cron Support #1348

Closed
phyreman opened this Issue Jun 5, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@phyreman

phyreman commented Jun 5, 2012

PHP Fog just released better support for Cron Jobs so ENV vars are exported to the job and the command allows arguments. Also, since we "cd" to the document root before running the cron'd command, the command on the cron job page can be shortened to the following:

crawler/crawl.php foo@bar.com mypassword

Doing it this way also means not having to set the ENV variable.

@ginatrapani

This comment has been minimized.

Show comment Hide comment
@ginatrapani

ginatrapani Jul 4, 2012

Owner

What's the best way for ThinkUp to determine the app is running on PHPFog? Is there an ENV variable set the app can check for?

Owner

ginatrapani commented Jul 4, 2012

What's the best way for ThinkUp to determine the app is running on PHPFog? Is there an ENV variable set the app can check for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment