Software :: Run Script Once At Certain Date And Time?

Mar 18, 2010

I was wondering if anyone has discovered a way of either using cron or by custom scripting, to run a script at a certain date and time only once. The purpose would be to make one-off changes to dns zone files, or to virtual host configs on an apache server, or changing any type of text file at say 12:01am rather than waking up at 12:01am (when our maintenance windows start) to make changes to production servers.

View 4 Replies


ADVERTISEMENT

Fedora :: Network Time Protocol Part Of Date / Time Settings

Oct 3, 2009

I've got fedora 11 set up to use network time protocol to sync my laptop's date & time when I'm on-line. The question is simple really, I've added a local universality's time server (what is public) and it's live. but it's added to the end of the default time servers what come with fedora. How do I get fedora to just use the local time server, is it a case of removing the default time servers for fedora, but there is a box what says advanced options which are. sync system clock before starting service ???? & use Local time source (( is that the same as the local ntp server that I've got set up ))Hope some body can help me with the network time protocol part of Date/Time settings.

View 9 Replies View Related

Ubuntu :: Set Time To Singapore Server With Time And Date?

Oct 28, 2010

I want to synchronize my time to a time server in Singapore. How can i do so with the Time and Date in System - Administration - Time and Date?

View 4 Replies View Related

Red Hat / Fedora :: Date And Time Changing All Time / Solution For It?

Jan 11, 2010

I have a problem..
the Date and time are changing all the time...

Meanwhile, I'm set the clock every day, But I must find a solution ... Do you have a solution?

View 1 Replies View Related

OpenSUSE :: 11.1 - Date And Time Not In Sync

Mar 22, 2011

My date and time is not syncing correctly. I have 2 opensuse 11.1 servers and on both when you adjust the time in yast, I go back into yast and the setting for the NTP server is not set and "manual" is checked. I tried many times and the setting keeps reverting back. I always click on Save NTP configuration.

View 2 Replies View Related

General :: Date - How To Set Current Time

Jun 26, 2011

Why is the output of the following commands different?

root@vmi2115:/var# hwclock
Sun 26 Jun 2011 01:21:38 PM CEST -0.273230 seconds
root@vmi2495:/var# date
Sun Jun 26 15:21:39 CEST 2011
root@vmi2115:/var#

And can I change the current time on Linux?

View 4 Replies View Related

Ubuntu :: 8.10 - Date And Time One Month Behind

Mar 5, 2010

When I boot up ubuntu 8.10 the time and date are a month behind. Is there anyway of correcting this?

View 8 Replies View Related

Ubuntu :: Changing Date And Time

Apr 15, 2010

I installed my linux os in vmware.I need to set time of virtual machine to later time( 2005 ).I have an application whose license expires at 2006 so I have to do this in order for it to work .but when I change it it comes back to the current time ,so what is the solution for this .

View 2 Replies View Related

Ubuntu :: Adjust Date And Time In 10.10?

Dec 5, 2010

If one right-clicks on the date and time tab in Ubuntu 10.10 desktop, then there is no obvious way to change the time. If one right-clicks and goes to help, then the explanation for changing time is as follows under the category 'usage':

2.3. To Adjust the System Date or Time.

To adjust the system date or time that the Clock applet displays, perform the following steps:

1. Right-click on the applet, then choose Adjust Date & Time.

2. Type the root password, then click OK.

3. The Clock applet starts the system tool that sets the system date and time. Use the tool to adjust the date and time.

The actual way to do this is as follows:

Right-click on the date and time applet. select preferences, and down at the bottom of the window that opens push the 'time settings' button.

Then you will be able to adjust that date and time.

View 3 Replies View Related

General :: Rpm -qa --last Lists All Rpm With Date And Time?

Oct 4, 2010

rpm -qa --last lists all rpm with date and time. But I want to sort the list by date, with earlier rpm displayed first. So it needs pipe, rpm -qa --last |

View 2 Replies View Related

Debian :: How To Change DATE / TIME Format

Jul 23, 2011

I set my location, but Debian displays DATE in some messed format. I would expect such neat OS to recognize all those local settings based on my location, but that's not the case. It seems that Debian follows locale settings by set language (which is en_us in my case, as I guess in majority uses) or this format is default in any case

I would like to set date/time to DD.MM.YY. hh:mm:ss, and programs that display date data to follow this setting. Simply put, in Windows there is Control Panel and you set location, then OS uses some regional settings, like currency, separators, date/time format.

View 7 Replies View Related

Fedora :: Know The Time And Date Of A File Downloaded From The Net?

Dec 3, 2009

How do I know the time and date of a file downloaded from the net. Is it possible at all? If I want to know when the downloaded file such as a text file was created ie written by the author if not mentioed at all in the entire document. The command I use locally to know file creation time is given below.

Code:
ls -l filename.txt
-rw-r--r-- 1 root root 691 Dec 3 11:12 filename.txt

View 2 Replies View Related

Fedora :: Can't Change Date / Time Format In F15

Jul 10, 2011

In the past, I just edited the /usr/share/gnome-shell/js/ui/dateMenu.js file to alter the date and time format. Today when I tried that, it crashed GNOME Shell and wouldn't let it start..

View 4 Replies View Related

Fedora :: How To Customize Date / Time Format

Aug 7, 2011

For some reason, thunderbird uses some random order for the date elements, e.g. MM/DD/YY. I need to change it to YYYY/MM/DD but haven't found where! There is no option in TB to configure this so I guess it just picks some default from regional settings? Where do I need to go to set the date format to its logical form?

View 3 Replies View Related

Ubuntu :: How To Make Time & Date Persistent

Aug 26, 2010

I've noticed that every time this desktop is turned on the date & time are as they were the last time I used it, and then have to put in the correct date & time again (this is why I chose the word 'persistent' within the tittle). When I try to change those have to write in the password for the date as well as for the time as if 'login-in' once were not enough! What I want to know is how to put in the date & time and receive the correct amounts the next time I turn the unit on again, as it should be? Do I've to open a terminal & do it with administrator's authority/credentials?

View 3 Replies View Related

Ubuntu Servers :: Date And Time Not Updated On 8.10?

Aug 31, 2010

On my virtual machine ubuntu 8.10, the date and time settings are not updated every time when I restart the machine.

View 2 Replies View Related

Ubuntu :: Date And Time Can't Unlock Popup

Mar 10, 2011

ubuntu 10.10 64bit my system clock keeps running late, and for some reason, I can't use NTP to synchronize it.If I try to use System -> Preferences -> Administration -> Time and date I can't unlock the popup (see attached screenshot) - I can click on the little yellow lock icon but when I do so, nothing happens.I tried "sudo ntpdate..." but i get the "the NTP socket is in use, exiting" error.

View 9 Replies View Related

Ubuntu :: Deleted The Things Near The Time/date?

Mar 22, 2011

the section where the wireless signal and sound control is?To the left of the time/date in this picture:

View 2 Replies View Related

Ubuntu :: 11.04: Can't Open Time And Date Settings

Apr 28, 2011

Since my clean install of 11.04 using the Unity desktop (takes a little getting used to) I notice I cannot adjust the system clock any more...

I usually configure Ubuntu to sync to an internet time server but this is no longer possible as I cannot open the System Settings > Time and Date dialog.

View 9 Replies View Related

Installation :: Date / Time Not Set - Computer Won't Boot?

Feb 4, 2010

I've installed 2 different distros on this old dell laptop, install goes fine, i run everything...reboot a few times. perfect, but the next day, when i boot up, i get " date/time" not set, if i choose to ignore that...computer won't boot... is this a battery issue ? the battery wont hold a charge, so i only run it with power pack...works great, but when i turn this on tomorrow, I'll get that w=error messy.

View 4 Replies View Related

General :: Date And Time Of A Process When It Was Started?

Mar 19, 2010

Centos 5.4 64bitWould like to know when a particular process was started.1.Quote:ll -d /proc/4014/dr-xr-xr-x 5 mysql mysql 0 Nov 28 07:34 /proc/4014/2.Quote:ps -o pid,lstart -p 4014 PIDSTARTED 4014 Tue Nov 17 23:10:13 20091) Which one should I consider?2) why do both have such a difference?

View 1 Replies View Related

General :: Extracting Date And Time From The At Command?

Sep 10, 2009

I would appreciate help with how to extract the date and time from at command jobs. From what I can tell, the date and time is embedded in the file name (/var/spool/atjobs).I'd be using this information in a (bash) shell script.

View 14 Replies View Related

Networking :: Put Current Date And Time On My Machine From Certain URL?

Dec 7, 2010

I am using the Terminal. I would like to know how do I put the current date and time on my machine and the date from a certain URL that has .php extension into a file.

View 3 Replies View Related

General :: Set Date Time Using A File Content?

Jan 13, 2010

I have a file called foo with a date string in it - and nothing else in the file

2010.01.13-22:28:28

I want to send this file content to date -s command so I can modify using a cron job.

I tried several ways to pipe the file contents to date command but did not work.

View 4 Replies View Related

General :: Time And Date Deleted / Reinstall It?

Mar 16, 2011

I am using Ubuntu 10.4 and by mistake I deleted time and date. How do I reinstall?

View 2 Replies View Related

Software :: Possible To Changestamp's Date / Time Format

Jul 12, 2011

In KWrite, you can make a datestamp and timestamp by pressing F7 for a command line and typing "date" therein. I just wondered: is it possible to change the stamp's date/time format, which is mm/dd/yy 24-hour time format? That's fine, but I wish the stamp could include the day of the week. (I use KWrite to keep a text-only personal journal. Any suggestions that I use a different program are welcome but are beside the point.)

I looked through the editor settings options, but found nothing relevant. The settings don't mention the F7 command line and the datestamp/timestamp at all; the only reason I know is because I once asked if there was a way to make one, as in Windows Notepad.

View 2 Replies View Related

Programming :: Add Date/Time To The Message Body?

Sep 6, 2009

- how to add the date/time to the email (message body)

- how to as the user to add a picture

- how add on an error page a button to send it back to the form so that the input does not get lost

Here the program so far:

<?php
/*
CHFEEDBACK.PHP Feedback Form PHP Script Ver 2.15.0
Generated by thesitewizard.com's Feedback Form Wizard 2.15.0.

[code]....

View 1 Replies View Related

Programming :: Ls -R Without Changing Access Time/date?

Aug 31, 2010

I am using cygwin in order to test a bash script that uses the ls -R command. When I use this, the access date of the subfolders are changed, and I need them to remain what they were before the command was run. I don't have access to a legitimate Linux system, so I'm not sure if this is the fault of cygwin or the ls command. The script is being used to find the last access date of all files underneath several subfolders and then return the latest date found in each subfolder as the last access date for that subfolder. For some reason, some of these folders have files in them that are newer than the folder's last access date, so the script is meant to give us a list of the true last access date for these folders.

View 5 Replies View Related

CentOS 5 Server :: Sync Time With NTP But NOT The Date Possible?

Apr 11, 2011

I am trying to sync the time on my Centos 5 box, but I do not want to sync the date. All of our servers need to have the clocks synced, but one system needs to have the date set to the previous day.

View 6 Replies View Related

Debian :: Forensics - Date And Time The USB Drive Was Removed?

Jun 17, 2011

Is there anything that could betray the time the USB memory drive was last removed ? I can't find it and the time would help me pinpoint what happened to it.fstab file last access time or something like that ?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved