Picking PHP Version for Crontab Scripts
- Status
- Closed
- Description
- Picking PHP Version for Crontab Scripts
- Reported by
- techana
- Priority
- 2
- Area
- ClearOS (deprecated)
- Details
I've installed the latest version of the PHP Picker app on my clearOS 7.4 box. The server is hosting a web app that was written in Laravel. The web app has components that require PHP 7. Of those are some crontab scripts.
I know that the default PHP in clearOS is version 5.4 and am wondering how to pick PHP 7 for the crontabs?
Here is an example of the crontabs I want to run:
0 2 * * * php /var/www/virtual/lms.domain.com/artisan draft-clear:document > /var/log/lms/drafts_docs_cleaner.logThank you.
- Created
- Wednesday January 10, 2018 03:23:44 EST
by techana - LastModif
- Sunday February 11, 2018 16:43:17 EST