I am trying to add a new script to crontab using putty. I am following these steps:
- open putty
- enter my username / password
- enter command
crontab -eto create new crontab - copying this command to putty by right click
*/1 * * * * var/www/servername/html/populate_data_nrgrs.php - hit esc key then enter
:wqpress enter - I am getting a message installing crontab
Then after 15 minutes nothing happens. I entered the command crontab ~l
It says:
[asingh@cs1 ~]$ crontab ~l
~l: No such file or directory
[asingh@cs1 ~]$
I tried to include the username at the begining of my script
*/1 * * * * asingh/var/www/servername/html/populate_data_nrgrs.php with no success.