i want to pause my cent os time and date in a spesific date :D is it possible ?
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?
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
2010/4/19 Joseph L. Casale jcasale@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
: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 jcasale@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
: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 jcasale@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 C&C for a botnet?"
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.roth@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 jcasale@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 C&C for a botnet?"
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
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 jcasale@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
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.roth@5-cent.us (m.roth@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 MMDDhhmmYYYY 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
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: #!/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.
Thank you i will check this out
2010/4/20 Les Mikesell lesmikesell@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: #!/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
2010/4/19 cahit Eyigünlü cahit.eyigunlu@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