To execute a basic PHP script from CRON, would I use the following command?
Is there a way to test a CRON script by executing it once, or will it only allow execution by the data parameters?
EDIT: The directory for php (/usr/sbin ?) is in the PATH variable (or whatever the Linux equivalent is), right?
Code:
php /home/etc/script.php
EDIT: The directory for php (/usr/sbin ?) is in the PATH variable (or whatever the Linux equivalent is), right?
Last edited: