First, you have to Log in to your AWS EC2 instance from terminal
Run the below command
sudo crontab -e
When you run Crontab command for the first time
/bin/ed
/bin/nano
/usr/bin/vim.basic
/usr/bin/vim.tiny
Choose 1-3 [2]:
You can open it with any text editor.
I need to run my code every day at 11 am
0 11 * * * php /var/www/public_html/notice.php
To check whether your Cron Jobs is saved or not, run the below command.
star 1: Minute ranges 0-59
star 2: Hour ranges 0-23)
star 3: Day ranges 1-31
star 4: Month ranges 1-12
star 5: Day-of-week 0-7 where 0 and 7 is sunday and 1=Monday 2=Tue 3=Wed 4=Thu 5=Fri 6=Sat
sudo crontab -l
Now we need clear information about ***** this 5 star
AWS S3 bucket policy for upload and download Goto AWS Account -> S3 -> Select Bucket&..
If you are unable to connect to port 22 on your Amazon EC2 instance, it could be due to several reas..
Solved Amazon ec2 not working when accessing through public IP Check your security group.. ..
EC2 means Elastic compute cloud.AWS provides secure and resizable compute capacity in cloud. ..
Aws Ec2 Single Instance Multiple domains. First, we go to the sites-available folder. Where there ar..
Get the latest news and updates by signing up to our daily newsletter.We won't sell your email or spam you !