php - Cronjob not working with CodeIgniter -


I want to set up a cron job for my project and it works with a sub folder named VMS on my domain. .

I have created a cron job with the controller:

  file: main.php Class: main method: termination alertlist location: public_html / vms / application / controllers / main Php  

I will try to use the method listed below to run the cron job but this gives me 2-different error messages with 2-separate cases. So, how can I run my cron job in a day?

/ usr / local / php4 / bin / php /home//public_html/vms/index.php Main End Alert Mail

/ usr / bin / php -q /home//public_html/vms/index.php Main End Alert Mail >> / dev / null

/ usr / bin / php / home // public_html / Vms / index.php Main End Alertmail

/ usr / bin / php /home//public_html/vms/index.php

0 13 * * * php home // public_html / vms /index.php Main / End alertmail < / P>

php /home//public_html/vms/cron.php/Main / End Alert Mail

~ / public_html / vms / index.php Main End Alertmail

Wget

php -q /home//public_html/vms/index.php?c=main&m=ExpiryAlertmail

/ usr / bin / php-cli / home // public_html In /vms/index.php Main end alert mail php /home//public_html/vms/cron.php main / end alert mail

wget -O - -q -t 1

If your script can be requested by the URL, then you can try

0 13 * * * Curl '[your script URL]'


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -