Ubuntu :: Use Cron To Schedule A Script Wrote?

Nov 28, 2010

I'm trying to use cron to schedule a script I wrote.in the terminal I'm typing sudo cronbut i get this message back.cron: can't lock /var/run/crond.pid, otherpid may be 3332: Resource temporarily unavailablewhat's going on here? how can I schedule my script to run?

View 2 Replies


ADVERTISEMENT

Red Hat / Fedora :: How To Schedule A Cron Job

Feb 28, 2010

I would like to schedule a cron job to run on every first saturday of the month, so far all documentation that I have looked at, mentions only a weekly cron or a monthly cron based on the date. Is it possible to run a monthly cron based on the day of the week?

View 1 Replies View Related

Red Hat / Fedora :: How To Schedule Job Using Cron

Aug 12, 2010

How to schedule a job using cron that shouldn't run between working hrs 9am-5pm, while run in non working hrs every hour, every day of the month, month & week. I tried the following way, not sure I can use logical not operator(!).

crontab -e
0 !9-17 * * * /path/to/script/file
I guess other way is
0 17-8 * * * /path/to/script/file

View 1 Replies View Related

General :: How To Schedule Job Using Cron That Shouldn't Run Between Working Hrs?

Aug 12, 2010

How to schedule a job using cron that shouldn't run between working hrs 9am-5pm, while run in non working hrs every hour, every day of the month, month & week.I tried the following way, not sure I can use logical not operator(!).

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

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

Ubuntu Servers :: Cron Sending Email From Address / Change The Default Domain Name For Cron?

Apr 29, 2011

Can anyone tell me how i change the default domain name for cron?everything i cron runs it emails from and to user@com.com

this leaves me with a massive list of failed mails in postfix.i have mailto on my main crontab but i cant do it on all of them.

View 1 Replies View Related

Ubuntu Installation :: Cron's /etc/cron.daily/apt Not Upgrading?

Feb 25, 2010

It seems that cron is not upgrading my Ubuntu 8.04 LTS Server, no GUI installed. I changed /etc/crontab and watched apt running:

Code:

ps -A | grep apt

showed it for a long time,

Code:

sudo tcpdump tcp

showed communication with canonical sites,

but:

Code:

top

did not show any apt using CPU

[code].....

View 2 Replies View Related

Ubuntu :: Do Cron Updates Erase Cron Entries

Sep 19, 2010

I put in my cron entries to run my backup script which rsyncs my data to my 2nd drive, however on a hunch I checked my backup drive which mounts automatically via fstab and I realize it had not ran in a while. I checked cron and there were no entries for it. I got to wondering if I should ever be worried about a cron update coming down and over-writing my existing cron file with the backup entries in it to run.

View 2 Replies View Related

General :: Add Files In An Already Wrote DVD?

Mar 26, 2010

Lets say i have an empty DVD (4,7G)

I write on it data 2G with k3b.

Is it possible later to add some more files in this DVD with k3b ?

View 3 Replies View Related

Fedora :: No Output From Cron Jobs In /etc/cron.daily

Jan 29, 2011

I have added some executable scripts to /etc/cron.daily but don't get the stdout/stderr output from them as mail (or anywhere else I have found). At least one of them is running (because I can see that it has added a file to the disk).

The peculiar thing is that I do get the output from /etc/cron.daily/0logwatch (part of the logwatch package) as an email each day.

The MAILTO line in /etc/crontab is "MAILTO=root" (unchanged from default). Same for /etc/anacrontab.

I do have an alias at the end of /etc/aliases which redirects root's mail to my own account, but this alias works fine for mail I send manually. (It also appears to work fine for the output from the file /etc/cron.daily/0logwatch.)

View 3 Replies View Related

CentOS 5 :: Setup A Cron In /var/spool/cron/root

Feb 16, 2010

I have set up a cron in /var/spool/cron/root

*/15 * * * * /usr/bin/phplist.sh

I can see in /var/log/cron that it is running every 15 minutes but it has no effect. It is not doing the commands in the bash script.

If I run /usr/bin/phplist.sh right in the shell it works great.

View 3 Replies View Related

Ubuntu :: Wrote A Script That Displays Last Login Times For All Users

May 24, 2010

After a lot of work, I think I have successfully written a script that displays the last login times of all users on a system. It gets the list of users from the directories in the /home folder and then finds the latest entry from the 'last' command for their login times. This may be a useful script for admins out there

I am not at all sure this is the best way of doing this or that there aren't ways that this script fails. At the moment, there are no users on my test system who haven't logged in so I am not actually sure that feature works. I imagine it does though. Please feel free to copy/use and/or criticize/correct. I would love it if we can make this script better. Take a look:

Code:

View 3 Replies View Related

OpenSUSE Install :: Wrong Version Wrote

Sep 4, 2011

I wrote a few minutes ago open Suse 11.04 instead 11.4, I got confused with Ubuntu's last version.

View 2 Replies View Related

General :: Accidentally Wrote Over The Wrong Partition?

Mar 17, 2011

When doing an install of Linux Mint, I accidentally installed on a partition that already had data on it, so now that partition has a clean install of Mint instead of the data that was there before.I was hoping that I could at least recover some of the data from this partition, so my questions would be what, if anything, could I recover, and how would I go about doing that?

View 2 Replies View Related

Hardware :: K3b Wrote A Music CD But The Machine Can't Read It?

Apr 22, 2011

I used k3b to write a music CD on my Asus laptop. I then put it back in the drive, and Kubuntu told me that it was blank. Yet when I brought it over to a different machine, or to a non-computer CD player, it played correctly. The files on the CD are WAV, not MP3.

I've heard of problems where you write a CD in one machine and then can't read it in a different machine, but this is the other way around! The originating machine can't read it but the foreign machines can. I don't understand that at all.

The default writing speed is 24X. I tried lowering it to 16X, but that had no effect.

View 4 Replies View Related

General :: Debug A Script That Another Person Wrote.?

Jul 29, 2011

I am trying to debug a script that another person wrote. I am not very strong understanding awk.

cat ${origfile} | awk '{sub("�14","
\page
");print $0 "par"}' >>${rtftempfile}

I know awk is doing some kind of manipulation of the acsii file ${origfile}, just not sure what.

View 6 Replies View Related

Ubuntu Servers :: Wrote A Start Up Script In /etc/rcS.d/ That Runs:/etc/init.d/squid3?

Jan 19, 2010

I installed squid on my machine, and for a while it was starting up automatically when the computer would turn on, and I would only have to reconfigure on ip-up for the new dns, etc.Now for some reason, I notice that squid isn't even started.To fix this, I wrote a start up script in /etc/rcS.d/ that runs:/etc/init.d/squid3 startAnd I notice it still isn't starting.So I write "/etc/init.d/squid3 start" and put it in my ip-up.d/ script.Everything in the script is being executed, but the squid server.I've tried reinstalling squid... what am I missing? where does the computer start these services?

View 4 Replies View Related

Programming :: Wrote Code For An Application Called Nagios?

Sep 3, 2010

I suspect this will be beyond my abilities but thought I'd give it a try. A few months ago I wrote code for an application called nagios which would send me tweets when a system within my network ran into a problem (code below):

Code:
define command {
command_name notify-host-twitter

[code]....

View 7 Replies View Related

Software :: Vixie-Cron Not Running /etc/cron.d/

Feb 9, 2011

Is my vixie-cron broken? i have "0-59 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" but it is not running in /etc/cron.d.

Code:

View 2 Replies View Related

Networking :: Wireless In Backtrak 4 - When Wrote Iwconfig It Dose Not Work

Sep 18, 2010

I am using backtrak 4 because i wont to hack a wireless network and when i wrote iwconfig it dose not work. see this [url] and i am using dell laptop dell inspiron 1545.

View 4 Replies View Related

Software :: Got Error No Dotnetcharring Namespce When I Wrote Program In C# / Solve This?

Apr 10, 2011

I wrote program in c#
i got an error
no dotnetcharring namespce
how to solve this problem

View 4 Replies View Related

Programming :: Wrote A Driver That Scans On Startup Dynamically For Available EEPROM's On A Certain IC Bus?

Jul 28, 2011

I wrote a driver that scans on startup dynamically for available EEPROM's on a certain IC bus. For each EEPROM a new character device is created in /dev like:

/dev/bus0eepromA0
/dev/bus0eepromA1
/dev/bus0eepromA2 ...

[code]....

View 1 Replies View Related

Debian :: Install Nvidia Drivers, But Installer Wrote To Disable Nouveau First?

Aug 8, 2010

I've just installed Squeeze and try to install Nvidia drivers, but installer wrote that I have to disable Nouveau first. So could you please tell me how to turn off nouveau driver totally and correctly.

View 6 Replies View Related

OpenSUSE Hardware :: Found Or Wrote Driver For Konica 7130 Best 64bit?

Jul 8, 2010

anybody found or wrote driver for Konica 7130 best 64bit

View 2 Replies View Related

OpenSUSE :: Wrote A Script To Make Machine Suspend For 30 Secs And Then Wakeup Automatically?

Mar 17, 2010

#!/bin/bash
echo 0 > /sys/class/rtc/rtc0/wakealarm
echo `date '+%s' -d '+ 30 seconds'` > /sys/class/rtc/rtc0/wakealarm

[code]....

View 3 Replies View Related

General :: Wrote A Program That Multiplies 2 Matrices Using Multi-threads And Another One Using Multiple Processes And Shared Memory?

Sep 22, 2010

I wrote a program that multiplies 2 matrices using multi-threads and another one using multiple processes and shared memory. Both in C.I need to find the total memory usage of these programs. I know of the top command, but when my matrices are relatively small they don't even show up on top because they complete so fast, how can I find the memory usage for these instances?Also, how can I find the total turnaround time of my programs

View 1 Replies View Related

Ubuntu :: Schedule A GUI App With At Or Crontab?

Mar 2, 2010

I want to schedule a Java program to run at a certain time, which will open a GUI progress monitor while it runs, and then terminate when it's done. I can execute it fine from the command line, but I it doesn't seem to work when I schedule it with crontab. In fact, I can't make any gui by scheduling it, not even something like gedit or firefox.

I know it's pretty rare that someone would want to do this, but is there any way to schedule a GUI app?

View 1 Replies View Related

Ubuntu :: How To Schedule Program

May 23, 2011

now a day its difficult to wake up at 2 o'clock and on the pc starting downloading is there any way to schedule deluge program start at 2 o'clock

View 9 Replies View Related

General :: Evolution - Remove The "On [date] [person] Wrote:" Message?

Mar 23, 2010

Simple question but maybe not a simple task. I want to automatically remove the "On [date] [person] wrote:" message when replying to an email using Evolution. Any ideas?

For example:

On Tue, 2010-03-23 at 21:39 +0000, J Steel wrote:
> How do I stop this bit from appearing ^

View 2 Replies View Related







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