Thank you i will check this out<br><br><div class="gmail_quote">2010/4/20 Les Mikesell <span dir="ltr"><<a href="mailto:lesmikesell@gmail.com">lesmikesell@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 4/19/2010 3:32 PM, cahit Eyigünlü wrote:<br>
> i have a algorthm depending on a circul of a server time in a 10 day<br>
> period and i want to execute this command :<br>
>   sudo date MMDDhhmmYYYY<br>
> periodically in every 10 day :D<br>
<br>
</div>Make a script file like:<br>
#!/bin/sh<br>
date MMDDhhmmYYYY<br>
echo /path/to/script | at now + 10 days<br>
<br>
<br>
Chmod +x the script and run it as root at the starting time you want.<br>
It will run itself again in 10 days.  The "now + 10 days"  is literal -<br>
the program will do the math.<br>
<br>
But, some strange things may happen to any cron jobs or other at<br>
commands that span the time warp.<br>
<font color="#888888"><br>
--<br>
   Les Mikesell<br>
    <a href="mailto:lesmikesell@gmail.com">lesmikesell@gmail.com</a><br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br>