Thank you i will check this out
On 4/19/2010 3:32 PM, cahit Eyigünlü wrote:Make a script file like:
> i have a algorthm depending on a circul of a server time in a 10 day
> period and i want to execute this command :
> sudo date MMDDhhmmYYYY
> periodically in every 10 day :D
#!/bin/sh
date MMDDhhmmYYYY
echo /path/to/script | at now + 10 days
Chmod +x the script and run it as root at the starting time you want.
It will run itself again in 10 days. The "now + 10 days" is literal -
the program will do the math.
But, some strange things may happen to any cron jobs or other at
commands that span the time warp.
--
Les Mikesell
lesmikesell@gmail.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos