[CentOS] Pause time
i want to pause my cent os time and date in a spesific date :D is it possible ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pause time
i want to pause my cent os time and date in a spesific date :D is it possible ? Time stands still for no one... You can reset it (often if need be), but the clock has more than an aesthetic role for the user, it can't be paused. I _wonder_ why you need to do this? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pause time
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 MMDDhhmm periodically in every 10 day :D 2010/4/19 Joseph L. Casale jcas...@activenetwerx.com i want to pause my cent os time and date in a spesific date :D is it possible ? Time stands still for no one... You can reset it (often if need be), but the clock has more than an aesthetic role for the user, it can't be paused. I _wonder_ why you need to do this? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pause time
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 MMDDhhmm periodically in every 10 day :D It needs to be set back 10 days every ten days? I'd say you have a real problem with your algorithm. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pause time
It needs to be set back 10 days every ten days? I'd say you have a real problem with your algorithm. I'd love to have to read his logs:) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pause time
:D just for a secret :D if there is a possibility i will be very glad for this :D 2010/4/19 Joseph L. Casale jcas...@activenetwerx.com It needs to be set back 10 days every ten days? I'd say you have a real problem with your algorithm. I'd love to have to read his logs:) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pause time
:D just for a secret :D if there is a possibility i will be very glad for this :D 2010/4/19 Joseph L. Casale jcas...@activenetwerx.com It needs to be set back 10 days every ten days? I'd say you have a real problem with your algorithm. I'd love to have to read his logs:) Does his algorithm include spam? mark or CC for a botnet? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pause time
nope , i just need to start the time from june to july on 2009 :D there is nothing else , just a trick of an brilliant idea in my opinion for my network :D 2010/4/19 m.r...@5-cent.us :D just for a secret :D if there is a possibility i will be very glad for this :D 2010/4/19 Joseph L. Casale jcas...@activenetwerx.com It needs to be set back 10 days every ten days? I'd say you have a real problem with your algorithm. I'd love to have to read his logs:) Does his algorithm include spam? mark or CC for a botnet? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pause time
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 MMDDhhmm periodically in every 10 day :D Make a script file like: #!/bin/sh date MMDDhhmm 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 lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pause time
nope , i just need to start the time from june to july on 2009 :D there is nothing else , just a trick of an brilliant idea in my opinion for my network :D Famous words:) heh... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pause time
Thank you i will check this out 2010/4/20 Les Mikesell lesmikes...@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 MMDDhhmm periodically in every 10 day :D Make a script file like: #!/bin/sh date MMDDhhmm 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 lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pause time
one more question my mysql server is on another machine if php executes a date time now and save it to db or show it on html will it show me the date of server that i setted :D or is there any possibility to change apache date :D 2010/4/20 Joseph L. Casale jcas...@activenetwerx.com nope , i just need to start the time from june to july on 2009 :D there is nothing else , just a trick of an brilliant idea in my opinion for my network :D Famous words:) heh... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pause time
2010/4/19 cahit Eyigünlü cahit.eyigu...@gmail.com: i want to pause my cent os time and date in a spesific date :D is it possible ? You can set your clock back a minute every minute from cron using the date command. Try: date -s now - 1 minute If that's not good enough, you can write a loop that resets your clock back a second every second, again using the date command. while true do date -s now - 1 second sleep 1 done That should make time appear to stand still at the HH:MM:SS level. Another possible method is to pause time itself. However your computer won't work any more, and will remain frozen without any changes. HTH, Aleksey ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pause time
I reckon this sounds fishy, too. He's got some software that only works UP TO a certain time and he wants to cheat (sorry extend) that. ;-) jobst On Mon, Apr 19, 2010 at 04:39:33PM -0400, m.r...@5-cent.us (m.r...@5-cent.us) 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 MMDDhhmm periodically in every 10 day :D It needs to be set back 10 days every ten days? I'd say you have a real problem with your algorithm. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- If you want something done, forbid your children from doing it. | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos