*HELP with crontab*
22. March 2005 - 9:21
Ok I searched and read theother post but I want to know how to make the crontab tab say somthing different every 2 minutes. like first 2 minutes would say:
hello and welcome <first 2 minutes
the website can be found at <2 minutes after the 1st 1
how to vote is <2 minutes after the 2nd one
You see what i am trying to do? Every 2 minutes it says something different instead of posting it all every 2 minutes HELP
[code:1]# crontab
#
# Format: minute hour day month dayofweek /command
# examples
#* * * * * /say this is executed every minute!
#* * * * 1 /say this is executed every minute but only on mondays!
#*/5 * * * * /say this is executed every 5 minutes!
#0 15 5 2 * /say this is executed on the 5th February at 15:00 o'clock!
# change config at midnight
#0 0 * * * /exec your-midnight-fun.cfg
# spam
#*/10 * * * * /cp Visit www^1.^7excessiveplus^1.^7net![/code:1]
Use the template in the file if you notice the one that is every 5 minutes you can change it to 2 and there you have it, there are nice examples on this page. Spacific times, dates , etc. Also Remember slipppy with this you can use it to load different configs at different times Very cool feature I use it currently shutdown my server so it changes ports daily.
I hope this helps.[/code]