General :: Run Crontab At Various Time Zone?

Apr 21, 2011

My server is in CDT. I want to run one script @9.30am of EST5EDT

View 4 Replies


ADVERTISEMENT

General :: Changing The Time Zone To GMT?

Dec 15, 2010

I want to to change my time zone from PKT to GMT but when I do it from setup command it give the following error:

Traceback (most recent call last):
File "/usr/share/system-config-date/timeconfig.py", line 112, in ?
runConfig(rc)

[code]...

View 2 Replies View Related

General :: Amend Time Zone In My Profile?

Jan 16, 2011

How do I amend the time zone in my profile please?
I entered "London" but the page reverted back to its probable default -5GMT.

View 2 Replies View Related

General :: Incorrect Time Zone Displaying In Arch?

Mar 6, 2010

I have a server running ArchLinux; I recently installed openntpd on it. Since I started paying closer attention to the clock, I started noticing other things; specifically when I run the "date" command, it's returned in PST when it should be "EST":

[spice@sandbox ~]$ date
Sat Mar 6 00:17:42 PST 2010

I have set the hwclock to localtime, configured "HARDWARECLOCK" to "localtime" in rc.conf, and chosen two different (but accurate) values for TIMEZONE in rc.conf:

[spice@sandbox ~]$ hwclock
Sat 06 Mar 2010 03:17:38 AM PST -0.922220 seconds
[spice@sandbox ~]$ cat /etc/rc.conf | grep TIMEZONE
TIMEZONE="US/Eastern"
[spice@sandbox ~]$ cat /etc/rc.conf | grep HARDWARE
HARDWARECLOCK="localtime"

However, as you can see, "hwclock" and "date" both say they're showing PST, although hwclock is showing the time in EST. I am not sure whether this was the case before installing openntpd. Is there another place where I should be setting the time zone?

View 2 Replies View Related

General :: How To Synchronize Clock In Antix To Computer Time Zone

May 10, 2010

I just installed antix. It asked for time zones and I set all of that up but it is 3hrs off. My computer clock is correct, why can't I just set up antix to recognize my computer clock? Or why doesn't it just use that as a default?

View 7 Replies View Related

Red Hat :: Adding Time Zone Files To The Time GUI Interface?

Mar 7, 2010

There are many time zone files accessible from the command line that don'thow up in the GUI ("system-config-time"). How do I add these time zones to the GUI

View 1 Replies View Related

General :: Time Script Without Using Crontab?

May 23, 2010

I want to write a ping script that ping a ip after every 60 sec and log output to a file

View 10 Replies View Related

General :: Crontab Not Working \ Edited Crontab File Using Crontab -e?

Apr 27, 2010

I am using Linux 64 bit Redhat Linux. I am trying to setup simple crontab as follow...1. Edited crontab file using crontab -e2. Listed the file once to verify it using crontab -l. This will display as.. 18 5 * * 2-3 ksh $HOME/testScript.sh > $HOME/testscript.out3. Logged in a root and restarted cron deamon using "/etc/init.d/crond restart"As per my understanding now my testScript should start running at 5:18 am Thuesday

View 3 Replies View Related

General :: Configured A Script To Be Run At Specific Time Using Crontab

Mar 17, 2011

We have configured a script to be run at specific time using crontab.

Code:
# crontab -l

as per the crontab entry script should run every day 11.15 a.m

Every time when the script is executed i get a mail but when i run it using crontab it doesn't send any mail.

However when i execute it manually i get the mails.

Even the execution is getting logged in cron log.

Code:

View 2 Replies View Related

General :: Crontab - Backup Database Daily At Fixed Time

Jul 28, 2010

I'm trying to back up my database daily at 2:30am. is this the right format?
30 2 * * * mysqldump -u root -pPassword database > backup_$(date +%y%m%d).sql

View 8 Replies View Related

Ubuntu :: Way To Set Time Zone

Nov 11, 2010

I want to change my time zone (not time, but the time zone). Just as an experiment.

I am GMT.

I go to /etc/timezone and enter US/Eastern.

I know that Gmail uses JavaScript to check the computers time zone (not the time). Therefore if I sent an e-mail from Gmail to myself at Gmail it should show the new time.

But it does not. It shows my GMT. Obviously Eastern time is behind GMT.

(The same happens if I just change the time using date -u). Gmail shows the GMT rather than the time a certain number of hours behind the GMT.

How can I set the time zone on my computer so that webmail like Gmail recognises the new time zone?

View 1 Replies View Related

Ubuntu :: NTP Time Zone Wrong?

Mar 19, 2011

since the upgrade tzdata (2011c-0ubuntu0.10.04) to 2011d-0ubuntu0.10.04which I installed on Saturday, ntp updates seem to put me in GMT time.I've switched to manual time settings, as it does horrific things to my mythtv database!I'm not sure if its the upgrade, or the ntp time servers. My timezone is Australia/Tasmania.

View 2 Replies View Related

Debian :: Set Time Zone Under Xfce?

Mar 17, 2011

I have Squeeze with xfce desktop installed.
Howto set a "Time Zone" under xfce or which additional package should be installed to do that?

View 2 Replies View Related

OpenSUSE :: Time Zone And Language Setting?

May 22, 2010

My time zone is set right. I look at yest. And it set to the right time zone. But it said 02:04 am. When it should be about 19:07 PM! I'm not sure what to do. As for my language problem. I'm not sure. Took a look at yest again. But I'm having a ton of spelling error. How to do it.

View 9 Replies View Related

Ubuntu :: Scheduling Cron Job In Different Time Zone

Jan 22, 2011

I have a script to record a weekly radio show from a Sydney radio station.I am in Brisbane.Sydney and Brisbane are both in the same time zone but Sydney(NSW) bounces around on daylight savings time and Brisbane(QLD) does not. Is there a way to specify a timezone for a specific job in the crontab file? If so what would be the format for Sydney so it follows the daylight savings time changes? Right now I will just change the cron schedule when Sydney goes on and off DST.

View 9 Replies View Related

Programming :: Getting Current Time Zone Offset?

Jun 18, 2010

I'm looking for a function (prefer POSIX, but Linux specific would do if it has to) to get the current timezone offset. For my location, eastern USA, that should be -14400 when daylight time is in effect, and -18000 otherwise.

View 1 Replies View Related

Networking :: Run Script In EST Time Zone But Server In GMT / Achieve This?

Apr 4, 2010

I have a server which time zone is in GMT format. I have a user which is also get time zone variable in GMT. But I want to run script which will start from crontab in EST time zone. For that I�m not suppose to give extra entry in crontab. May be it would be in script.

How can I achieve this?

View 1 Replies View Related

Ubuntu Installation :: Time Zone Data Not Retrievable For Update

Apr 12, 2010

time zone data not retrivable for update

View 1 Replies View Related

Ubuntu Installation :: Installer Freezes After Selecting Time Zone?

May 8, 2010

Attempting to install 10.04... I can get to the "Where are you?" screen, then the little circular "please wait" cursor spins forever and ever.

Here are a few things I've tried, with no success:Leaving it alone for hours, hoping it was just taking a really long time. No Dice. Unplugging any hardware that might be causing a problem, including the network card. No dice. Burning it to CD, DVD, and booting from a USB key. No dice. Trying every combination of kernel options I could find in the forums, and setting most combinations found in the "more options" menu in the boot screen. No dice. Booting into the live environment, then installing from there (instead of just choosing "install" directly). No Dice. Booting both from the 32-bit and 64-bit ISOs (my machine is 64-bit)

Note: I have not tried just upgrading from my 9.10 install, and I will not try this. If I can't get a live CD to boot, there's no way I would voluntarily hose my current system by upgrading.

Also note: I checked the MD5 of the ISO, and did the "check the disk for defects" menu option as well. Everything checks out fine.

View 5 Replies View Related

Ubuntu :: Change Time Zone From Gnome Panel Applet?

May 27, 2010

I frequently travel between San Diego and Boston. I am able to add "Locations" to Gnome's Clock applet, which seems like it should take care of time zone information (see attached screenshot). However, I can't figure out how to set one (or the other) as my current location so that it will update my time zone information.

View 4 Replies View Related

General :: Possible Disabling Crontab Job Without Deleting Crontab Description Entry

Jun 23, 2011

is it possible disabling a crontab job without deleting the crontab description entry (by crontab -e)?I could also accept to change the entry itself. Now it's:0 0 * * 0-6 /home/me/cron/script.csh

View 4 Replies View Related

Fedora :: Crontab To Set A File Playing At A Certain Time?

Jun 6, 2010

I used crontab to set a file playing at a certain time, this works fine; however I want this to run even if no-one is logged in (but the computer is on). I can't get it to do this

Line is: 30 06 * * * env DISPLAY=:0.0 /usr/bin/totem /home/adunaic/Playlist.pls

Okay I think the problem was with needing a GUI.

Using this instead works, but i only hear the sound when I log in. I think something needs to be doen to start the audio perhaps?

14 17 * * * export DISPLAY=:0.0 && /usr/bin/mpg123 /home/adunaic/alarm.mp3

View 8 Replies View Related

Ubuntu :: Change Kernel Time Zone "dynamically" With The Boot Command Not With GUI?

Apr 5, 2010

I found a way to change the kernel time zone with the following command

$ ln -sf /usr/share/zoneinfo/* /etc/localtime

After I tried it and checked the kernel time zone, but it didn't changed.

It seemed to be applied after rebooting.

Is there any way to change the kernel time zone "dynamically" with the

console command, not with the GUI environment?

View 1 Replies View Related

OpenSUSE :: Kmail Akonadi And Mysql Errors - Can't Open And Lock Time Zone Table: Table

May 3, 2010

Kmail 1.13.2 Problem on startup, error is from nepomuk, data storage. "cannot find Redland backend, nepomuk is disabled until fixed. Also see the following error from the akonadi console:

100503 10:00:15 [Note] Plugin 'ndbcluster' is disabled.
100503 10:00:15 InnoDB: Started; log sequence number 0 31413862
100503 10:00:15 [Warning] Can't open and lock time zone table: Table
'mysql.time_zone_leap_second' doesn't exist trying to live without

[code]....

View 2 Replies View Related

General :: Difference Between /etc/crontab And "crontab -e"

May 29, 2011

What is the difference between the crontab located in /etc/crontab and the crontab that can be edited using crontab -e?

View 2 Replies View Related

Ubuntu Servers :: After Using Crontab With /etc/crontab / Giving Error "can't Find Command Root"?

Aug 26, 2010

I have a question about using crontab with /etc/crontab...

I had a cron job that I needed to run as root. At the time I thought that sticking it in /etc/crontab would be a good idea. However, I used the crontab command to edit /etc/crontab, which I guess is not standard procedure? Specifically, I configured /etc/crontab as my local user's crontab (i.e. sudo crontab /etc/crontab) then added my cron job as I would a local user crontab (i.e. sudo crontab -e).

Originally, my cron job looked like this:

30 * * * * root /my/batch/script &> /dev/null

After adding the new cron job I started seeing errors. Something to the effect of "can't find command root" or something similar. So I removed the 'root' user definition from the cron job and the job started running fine. However, because this is /etc/crontab, there are other system related cron jobs that have been defined to run under the root account (e.g. "17 * * * * root cd / && run-parts --report /etc/cron.hourly" runs as root, etc.). So these pre-existing system cron jobs, which up until now have been running smoothly, are now generating "can't find command root" errors. But I think that the system cron jobs _are_ successfully being run someplace because logrotate seems to be working.

So what I _think_ is happening is that /etc/crontab is being run twice: once as the system crontab, and once as my sudoed local user's crontab. When I run crontab -l I see nothing, but when I run sudo crontab -l I can see the contents of /etc/crontab. I am reluctant to delete my sudoed local user's crontab, because then in the process I would be deleting the system crontab, and I do not know how I should restore the system crontab's contents. (I am still not sure as to the most appropriate way to edit the system crontab).

How can I get out of this mess? I want /etc/crontab to go back to the way it was before--running _once_ as the system crontab. As for my new cron job, I'm willing to reconfigure it anywhere so long as I am still able to run it as root. Any ideas? (I am using Ubuntu 8.04 Server LTE)

View 2 Replies View Related

Software :: Scheduling Backup In Crontab When Put This File In Crontab To Schedule The Backup Program It Wont Run?

Apr 9, 2011

I have installed an application manager(monitoring application) on my linux server. Now, i need to have backup schedule for my application. The application itself has executive file to backup database.But when i put this file in my crontab to schedule the backup program it wont run!50 09 * * * root /opt/ME/AppManager9/bin/BackupMysqlDB.sh

View 1 Replies View Related

General :: How To Transfer All Zone From Master To Slave

Mar 15, 2010

I installed bind 9 sucessfully, and create many zones on its.

I want to biuld 1 slave server but i have problem :

How to transfer all zone from master to slave server ?

View 1 Replies View Related

General :: Setup A Development Test Zone On A Live Apache Server?

Mar 12, 2010

I have dedicated LAMP server running and I was wondering if I am able to run a dev/testing zone on it so to speak?...That way, I can have my come back soon, site is being constructed page live, and develop elsewhere on the server. I was trying a virtualhost, but since that is name based, the web browsers don't know what to do with it. I know the safest way is to develop on this machine then move to web server but I'm just seeing if what I was trying to do is possible.

View 4 Replies View Related

General :: Error (device Sda1): Ext2_new_block: Allocating Block In System Zone

Mar 10, 2011

I had found the following error messages one of my Linux server. the file system using for this partition is EFI GPT. Is this cause because of RAID controller incompatibility or Driver mismatch? PHP Code:

[Code]..

View 2 Replies View Related







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