[CentOS] Pause time
cahit.eyigunlu at gmail.com
Mon Apr 19 21:02:58 UTC 2010
Thank you i will check this out
2010/4/20 Les Mikesell <lesmikesell at gmail.com>
> On 4/19/2010 3:32 PM, cahit Eyigünlü wrote:
> > 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
> Make a script file like:
> 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 at gmail.com
> CentOS mailing list
> CentOS at centos.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS