0

I have a aws ec2 server with ubuntu on it.

I did the following to set my cron

sudo crontab -e

15,45 * * * * ubuntu /usr/bin/wget -O /dev/null https://mywebsite.com/cron/

But its not running.

  • what are you expecting to be running with what results? – Skaperen Aug 31 '15 at 12:24
  • I want to run a website link https://mywebsite.com/cron/ at every 15, 45 of the clock like 1:15, 1:45, 2:15, 2:45 This link does multiple job regarding mailing and mysql data – Shishant Aug 31 '15 at 12:29
1

Remove the username from the cron line and it should start working.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.