To edit the crontab, run the following command:
sudo crontab -e
Add the following line to it:
*/1 * * * * /INSTALLDIR/php/bin/php /INSTALLDIR/PATH-TO-PHP-FILE/post.php > /dev/null"
Please note that you have to substitute INSTALLDIR with the path where you instaled your Stack and PATH-TO-PHP-FILE witht the path to the "post.php" file
Was my answer helpful? Click on