crontab creation help
Just see this, it will help you.
# crontab -e
SHELL=/bin/bash
MAILTO=root@abesthost.com
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
# For details see here
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
If you want to run a job to open a link on every Sunday 1 am.
just type this:-
0 1 * * 0 curl -s "https://attaakwal.blogspot.com/mylink.php" > /dev/null
Thats it!...
0 comments:
Post a Comment