apt - Crontab not working on a PHP file - Ask Ubuntu


please ubuntu 16.04

  1. sudo apt-get update
  2. sudo apt-get install cron
  3. sudo apt-get install vsftpd

from here: url

  1. sudo apt-get install php

i uploaded file ftp , have created crontab -e try 2 option both not working on file

  1. */1 * * * * cd /home/amar/ && /usr/bin/php remote_cron.php > /dev/null 2>&1
  2. */1 * * * * cd /home/amar/; php remote_cron.php

everything thing installed okay crontab not working thing missed install

thanks all


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User