toggle menu

How to set cronjob on nginx server degitalocean?

Dhananjay Kumar |10 Apr at 05:04

I have setup cronjob on nginx server using below command :
$ crontab -e

and adding below script :
00 10 * * * /usr/bin/php /var/www/project_domain.com/index.php xyz_controller cronmethod

Above for the codeigniter function to run.

Not working any suggest.

  • 3 likes
  • 0 comment

Posted:

10 Apr at 05:04

Viewed:

1388 times

Active:

19 Apr at 06:04