Ubuntu :: Setting Up Cron For The First Time Not Working?

Aug 17, 2010

I've read a lot on how to setup a task in crontab. I think I understand how to edit the file, but when I try to save the changes, it says "no crontab for xxx." Then it says that it cannot create a new crontab. I have ubuntu desktop 9 running as a webserver. I've read the details in these posts and it isn't helping.

[URL]

View 3 Replies


ADVERTISEMENT

General :: Setting Time And Date / Setting Calendar Format?

May 14, 2010

Have installed Suse 11.2. how can I change the calendar format dd/mm/yyyy and how to configure the system to sync.from an ntp?

View 1 Replies View Related

Fedora Installation :: Set The Time In The System Tray To The Standard AM/PM Setting Instead Of Military Time?

Jan 29, 2010

Just making one last tweak with my fresh install of F12KDE. I need to . How do I do this

View 2 Replies View Related

Ubuntu :: Setting Up A Cron Job On DD-WRT Router To Execute A WOL Command

Oct 9, 2010

I am setting up a cron job on my DD-WRT router to execute a WOL command, and would like to know if what I have is correct.

Format:

Execute @ 12:00 on Wed, Thur, Fri, Sat every month/Yr

0 12 * * 2345 root /usr/sbin/wol -i 192.168.1.255 00:00:00:00:00:00

View 3 Replies View Related

Ubuntu :: Error While Setting Emblems With Gvfs-set-attribute And Cron

Aug 26, 2010

I already posted a link in the ubuntuusers.de Forum (german) [URL].. But I haven't found a solution yet. The problem is, that I wanna set an Emblem in Nautilus via a Script that is called by cron. The problem happens in that line

Code:
/usr/bin/gvfs-set-attribute -t stringv /path/to/file metadata::emblems minus14
thats the error: Error setting attribute: Setting attribute metadata::emblems not supported
I already tried to call the script via /etc/crontab and /var/spool/cron/crontabs/meles, i tired it with
Code:
/path/to/script

[Code]...

View 2 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

Ubuntu :: Setting Up A Cron Job Creates A Tunnel To Remote Machine To Work Correctly On 9.10?

Jan 12, 2010

I am having some trouble setting up a cron job that creates a tunnel to my remote machine to work correctly on Ubuntu 9.10. The setup looks like the following:

(1) myscript.sh (executable)
Code:
#!/bin/bash
ssh -2 -x -i /home/user/.ssh/id_rsa.prv -L 3128:myremotemachine:3128 myaccount@myremotemachine
(2) crontab -e, added the following lines:

[Code]...

View 5 Replies View Related

Slackware :: How To Create Cron Job To Execute At Same Time Each Day

Nov 11, 2010

I was thinking of creating a little audio alarm clock with an mp3 and mpg123 to play a song from a cron job each day. How do you specify the time of day to execute a cron job?

View 4 Replies View Related

General :: Cron - Schedule A Service To Run In A Time Period

Mar 2, 2010

i want a service to be start at 8:00 and be ended in 14:00 automatically i already do this manualy by:

/etc/init.d/myservice.sh start
/etc/init.d/myservice.sh stop

i think it should be related to cron jobs.

View 1 Replies View Related

Server :: Running Multiple Cron Jobs At Same Time

Jul 1, 2010

I want to create 2 cron jobs daily

1st cron: Every day by 13(1pm) I want to stop the httpd service
2nd cron: Every day by 13:30(1.30pm) I want to start the httpd service

I tried but only 1 cron job can able to run at a time.

View 7 Replies View Related

Software :: Cron Clock Is An Hour Off To System Time

Mar 31, 2010

I have cron jobs running and the timing is critical, because I'm running Nessus scans on production servers. If I hit them at the wrong time, I'm toast. But when I check the cron log, I see that it is an hour off. Here is the output for the command "clock":
Wed 31 Mar 2010 03:01:26 PM CDT -0.257677 seconds

And this is the tail of the cron log:
Mar 31 16:00:01 nes-001 CROND[8790]: (root) CMD (/Nessus/Targets/NessusScriptDataCenterScan.test)
Mar 31 16:01:02 nes-001 CROND[8822]: (root) CMD (run-parts /etc/cron.hourly)
Mar 31 16:01:02 nes-001 run-parts(/etc/cron.hourly)[8822]: starting 0anacron
Mar 31 16:01:02 nes-001 anacron[8832]: Anacron started on 2010-03-31
Mar 31 16:01:02 nes-001 anacron[8832]: Normal exit (0 jobs run)
Mar 31 16:01:02 nes-001 run-parts(/etc/cron.hourly)[8834]: finished 0anacron

Cron thinks it is 4:00 p.m., but it's really 3:00 p.m. How do I tell Cron what time it is? (Stopping and restarting the crond service did not change it.)

View 1 Replies View Related

CentOS 5 :: Cron Job Runs At Incorrect Time - Clocks Seem Ok

Mar 9, 2010

Within a VMWare ESX virtual machine, I am running CentOS 5.2. (Actually, it is kind of a virtual appliance to run CollabNet's Teamforge - which I have installed for a trial). I've been dabling with Linux for a year or so, but I know I have much to learn.

I'm attempting to run a cron job that runs a backup script at 11pm. It works great, but unfortunately it runs at 11:30 am.

I created the cron job using 'crontab -e', while logged in as root. My cron job line is : 0 23 * * 1,2,3,4,5 /etc/tjt_backup/collabnet_backup.sh

If I type 'date', I get the correct date/time in my timezone: Tue Mar 9 16:27:12 CST 2010

If I type 'clock', I also get the correct date/time: Tue 09 Mar 2010 04:26:57 PM CST -0.463330 seconds

(Although, it appears there is a little drift)

View 10 Replies View Related

Fedora :: Cron Job (Play Media File At Certain Time) Not Executing

Nov 6, 2009

I wanted to use cron to play a media file at a certain time (i.e. use it as an alarm clock). However it seems to do nothing. The contents of my crontab is:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# For details see man 4 crontabs
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * command to be executed
5 11 * * * env DISPLAY=:0.0 /usr/bin/totem /path_to_file

View 2 Replies View Related

General :: Log The Start/completion - Time&date - Of My Cron Job Script?

Jan 11, 2010

How do i log the start/completion (time&date) of my cron job script? i want to be able to see what time it started and what time it finished? and if there where any errors while running my script.

View 3 Replies View Related

General :: Automatically Trigger A Cron Job Each Time I Log In On System Account?

Jul 27, 2011

Is there any way to automatically trigger a cron job each time I log in on my linux account.

View 9 Replies View Related

OpenSUSE Install :: Bind Dns, Postfix, Cron - Failing At Boot Time

Mar 19, 2010

Somehow Bind dns, Postfix, Cron all fail to start automatically at boot time? All of them need to be started manually after the system is up in order to function.

View 1 Replies View Related

Ubuntu :: Cron Job Not Working?

Oct 30, 2010

After I create a cron job to shred some documents it seems to start and then immediately stop. What am I doing wrong? For instance, here is my cron:

#!/bin/sh
DISPLAY=:0.0
PATH = /usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:

[code]....

View 2 Replies View Related

Ubuntu Servers :: Cron Isn't Working

Jun 18, 2011

I'm trying to remotely schedule a shutdown using cron but I can't get it to work. I did setup the following 'sudo crontab -e'

Code:

For some reason doesn't this work, since I was able to login and get this output when using 'date'

Code:

View 7 Replies View Related

Ubuntu :: Shell Script Not Working In Cron

Jan 20, 2010

I'm creating a script all worked fine in the command line. But not work in the cron. Below you could see the script

[Code]...

So far I found when I use corn following part not working, nothing goes to the processedfiles file. ls -l /var/lct/mou2/processed | grep $TODAY | awk '{print " " $8}' > /home/trans/mou/processedfiles ls -l /var/lct/mou2/processed | grep $YESTERDAY | awk '{print " " $8}' >> /home/trans/mou/processedfiles This work perfect in command line. Corn job and command line use by the same user.

View 6 Replies View Related

Server :: Cron Job Not Working?

Jun 1, 2011

I have a cron job to run every 15 minutes. The cron job is running per /var/log/cron. It lists the job every 15 minutes.

[Code]...

I do not see any errors. I also looked in /var/log/messages for any errors and it does not list any. I added a line to the script that is running to send an email to me to see if it is running or not. When I run the script from the command line, the script runs without error and I get an email. I have searched and can not find what it going on. Is there some where else errors might be? Could there be a permission issue? The cron job is not being added by the root user.

View 14 Replies View Related

Slackware :: Cron Job Not Working?

Nov 13, 2010

I set up a job in my crontab file to clear the /tmp file on bootup with the following line:

Code:
@reboot rm-rf /tmp/*
My /tmp folder is not clearing. I've never used cron before;

View 7 Replies View Related

Ubuntu Servers :: Cron Jobs At Reboot Not Working

Jul 13, 2010

Have a headless server running Lucid 64 bit. Everything is working great except for a couple of Cron jos I'm trying to have run at boot.

My user crontab looks like this:
# m h dom mon dow command
01 * * * * /home/ceallred/Scripts/SambaBkup.sh
@reboot /usr/bin/SpiderOak --headless &The SambaBkup script works like clockwork...

The SpiderOak job doesn't start. It works if I type the command in manually.
syslog only shows:Jul 13 22:45:33 RavenWing cron[1010]: (CRON) INFO (pidfile fd = 3)
Jul 13 22:45:33 RavenWing cron[1022]: (CRON) STARTUP (fork ok)
Jul 13 22:45:33 RavenWing cron[1022]: (CRON) INFO (Running @reboot jobs)
Jul 13 22:45:33 RavenWing CRON[1048]: (ceallred) CMD (/usr/bin/SpiderOak --headless &)Yet ps -A doesn't show a running SpiderOak process. It shows after starting manually.

View 7 Replies View Related

Ubuntu :: Cron Or Scheduled Tasks Not Working Properly

May 23, 2011

I am running a series of operations on executable matlab scripts which are connecting python and fortran scripts. I schedule the executables in cron. The problem:

- My original matlab scripts work perfectly.
- My executables work perfectly if I run them from the terminal. - Using the gui scheduled tasks and running the scripts once from a button, everything also works fine.
- But when I leave the scheduled tasks run on their own, I get an error! The error can be that the script hangs in general (I have some text logs exported every step to track the progress), or I get an error which never appears when I run the script with any of the other mentioned ways.
- I tried both cron command prompt or the GUI scheduled tasks
- I am running on Ubuntu 64 bit

View 3 Replies View Related

Ubuntu :: Setting System Time Not Saved

Jul 23, 2010

Right now I'm 2hrs ahead of my normal time zone, i.e. the time zone I chose when I installed. So I changed the system clock right , ie right click Time > Prefferences. But when I re-boot it keeps reverting to the original time.

View 4 Replies View Related

Ubuntu :: Setting The Correct Time Server?

Sep 13, 2010

I live in India and my computer's time is always a minute ahead. I have selected the option to keep it synchronized with internet time servers but as there does not appear to be a time server for ubuntu in India I am not sure what to do. As of now I tried selecting foreign server but can't see anything happen.

View 1 Replies View Related

Debian :: Cron Task Not Working

Jun 27, 2015

I have a ts3.desktop file in my /usr/share/applications folder that I want to run on system boot. I have typed the following commands which don't work

Code: Select allcrontab -e

Then in the editor, I typed the following line at the bottom of file. I also made the necessary carriage return after this line.

Code: Select all@reboot gtk-launch ts3 /usr/share/applications

Then I pressed ctrl+o to save it.

After I put these commands in, I did the following command to troubleshooting this issue, see below.

Code: Select all$ crontab -l
no crontab for server
$ps -ef | grep cron | grep -v grep
root         532      1   0 21:35 ?                 00:00:00 /usr/sbin/cron -f

But after I reboot and nothing happens, the application doesn't start.

View 1 Replies View Related

Software :: Cron Not Working Under Cygwin ?

Jun 29, 2010

I'm running cygwin 1.7 on a vanilla win2k3 r2 server. I've put together a simple crontab that I'll paste in her in a sec. The crontab entries call several shell scripts that do either scp's or rsync's from linux servers to this win2k3 box under cygwin.

The problem is that the scripts work and run fine from the commandline. Just not when called from the crontab. I'm running from the root equivalent administrator UID. The crontab log files are empty of errors.

crontab is:

Like I said, the scripts execute fine from the command line.

View 3 Replies View Related

Ubuntu :: Cron Not Working - Attempting To Schedule A Task To Run Every Hour?

Oct 1, 2010

I am attempting to schedule a task to run every hour. I have altered the crontabs for my account but the the task still won't run on the hour.

View 1 Replies View Related

Ubuntu :: Setting Computer To Shutdown At Defined Time

Sep 27, 2010

Is in Ubuntu option, that can shutdown computer after time or at defined time? I think: I have turned on my computer and I will need to automatically shutdown computer after 4 hours or at 21.00 pm. Is there option, if computer can automatically turn on at defined time?

View 9 Replies View Related

Ubuntu :: 10.10 Clock Is In Military Time - How To Change The Setting

Nov 6, 2010

In Kubuntu 10.10, the clock is set to military time. I shouldn't have to do the math just to look at the clock. There is no setting anywhere to change it to normal time.

View 8 Replies View Related







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