Server :: Users Unable To Run Cron Jobs

Jan 6, 2010

I have a file server that is an NIS client. User home directories are auto-mounted from another server. Users are not able to run cron jobs. The /var/log/cron logs says:
Jan 6 14:33:01 inclination crond[3217]: (username) ORPHAN (no passwd entry)

I tried adding an entry in /etc/passwd, /etc/group, and /etc/shadow but the test script I have still doesn't seem to run although cron thinks it did. The log entry for these attempts looks like:
Jan 6 15:30:01 inclination crond[4312]: (username) CMD (/home/username/test-script)

Now root does seem to be able to run cron jobs with no problem. My test script works fine from cron when runs as root. I suspect there's an issue with how I have NIS configured but I can't find any info. The test script runs fine from the command line when logged in as myself.

View 2 Replies


ADVERTISEMENT

Server :: Sending Mails Through Cron Jobs?

Jun 13, 2011

i want to recieve mails to my emial id for the cron jobs i have assigned in linux command line..

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

Red Hat / Fedora :: Cron Jobs - Optimize Database Then Enable Apache Server

Sep 15, 2010

My server... its CentOS (redhat alike). I need to make the server disable apache server then run mysql command to optimize the databases then re-enable apache server in a specific time daily. Is it possible?

View 4 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 :: Install Anti Virus / Security Package On Server Uses Cron Jobs To Do Scan Every 12 Hours

Feb 27, 2011

I have a Cent OS dedicated server, not sure what version though as I'm new to Linux. How do I find out what version I have? Is there an anti virus or security package that I can install on my server which can use Cron Jobs to do a scan every 12 hours.

View 7 Replies View Related

Ubuntu :: Cron Jobs Don't Run?

May 22, 2011

I have this in my crontab (along with another line before it):

Code:
* * * * * /bin/echo "Does this work?" > ~/test
...and the file doesn't show up. I have a blank line after that one in the crontab. I have no /etc/cron.allow or /etc/cron.deny files. I'm running Ubuntu 11.04. /var/log/syslog shows "BEGIN EDIT" and "END EDIT" etc. when I run crontab -e, but doesn't say anything about trying to run commands. Anything I might be missing?

View 9 Replies View Related

Ubuntu :: Set Cron Jobs Up For Programs

Jan 9, 2011

i need to know how to set cron jobs up for programs like eggdrop and psybnc

View 1 Replies View Related

Ubuntu :: Cron Jobs Not Running?

Jun 2, 2011

I have a cron job that executes fine in opensuse 11.4. It is located in

/etc/cron.d/publish.cron:
jpablo /srv/django-apps/smcommand/scripts/publish.sh

It is correct, I want it to execute every minute. Now, I copied the same script to ubuntu maverick, and it doesn't run. Perhaps there's some ubuntu peculiarity that I'm not aware of?

View 5 Replies View Related

Red Hat / Fedora :: Where To Exactly Enter Cron Jobs

Nov 15, 2010

I have a Fedora 11 box and I am confused about cron, where exactly do I enter the cron jobs? For example, I have a job that needs to run every half hour.

View 8 Replies View Related

Software :: Cron Does Not Run Jobs In Debian 64?

Apr 6, 2011

Cron doesn't run jobs in Debian 64 (testing). It gives error
Code:
Apr 6 15:31:01 debian64 /USR/SBIN/CRON[5454]: (CRON)
Error (grandchild #5455 failed with exit status 1)
and does not run the script.

View 5 Replies View Related

General :: How To View Results Of Cron Jobs

Mar 21, 2010

I see so many guides on how to run crontab, but what I need right now is to learn how toFind log files about cron jobsConfigure what gets logged

View 3 Replies View Related

Ubuntu :: Cron Jobs Are Not Running And Can't Seem To Figure Out?

Mar 16, 2010

For some reason my cron jobs are not running and I can't seem to figure out why.
Here is crontab -l

Code:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin

[code]...

View 7 Replies View Related

Ubuntu :: Cron Not Running Any Jobs In Lucid?

May 10, 2010

I use crontab for a daily alarm clock, which stopped working after I moved to Lucid.

Code:
$ crontab -l
# m h dom mon dow command

[code]...

View 9 Replies View Related

Ubuntu :: Add Two Separate Tasks/jobs To Cron?

Jul 13, 2010

I want to add two separate tasks/jobs to Cron that needs to run every 10 minutes, but I would like the second job to kick off only 5 minutes after the first job. Is there any way this could be done within Cron?

View 2 Replies View Related

Ubuntu :: Cron Jobs Across Multiple Machines And PHP?

Jan 6, 2011

run a cron job to download my email logs to my laptop. But the question is HOW? Im not sure how to write the php script for the cron job. the file is on "computer A" and the file is setup to chmod I just need to know how to write the php to "access" the other computer and then download the file to a certain file on my laptop.

View 3 Replies View Related

Ubuntu :: Cron Jobs Stopped Running?

Jun 2, 2011

I am running Ubuntu 10.10 on a new Dell PowerEdge.

I built the system ~2 months ago and have successfully been running a list of cronjobs.

The jobs last ran on 5/31/11 at 7:35am. Since then none of the jobs have run.

I see "cron" in the process list when I run ps.

View 9 Replies View Related

General :: Cron Jobs Setup For Each 15 Seconds

May 8, 2010

How can I cron jobs for less than a minute for example configuring cron job to do something for each 15 seconds.

View 4 Replies View Related

Slackware :: Cron Jobs Scheduled To Run But PC Suspended?

Apr 7, 2011

By default, cron jobs are scheduled to run at 4:40 IIRC. I have my computer set to suspend after half an hour of inactivity so, except for some all-nighters, pretty much every day at that time my PC is suspended. What happens to the cron jobs? I don't suppose they run while the suspension is in effect. Do they get run when the computer wakes up or does cron wait until the next day at 4:40 to run the jobs?

View 5 Replies View Related

Debian Configuration :: Suspend Mode And Cron Jobs?

Jul 7, 2010

Just curious if this is possible. What I want to do is setup a rsync job to backup my laptop to my personal file server(same LAN), but I want it do do this at 3AM while I'm sleeping. However I always close my laptop lid when I'm done using it which puts the laptop into suspend mode since that's how I configured my power options in gnome. Since I don't want to leave my laptop powered up all the time, I was wondering if it is possible to have a cron job scheduled that will wake the laptop up(out of suspend mode) and run my script/backup job, all without opening the lid of the laptop, and then put it back into suspend mode when it's done. Is this possible, and is it as easy as scheduling a cron job or is there some other scripting/configuration/trickery that I need to do to accomplish this?

Also, my laptop's BIOS has the option to power on at a scheduled time if needed, but I'm not sure if that would work with it being suspended(hibernation is not an option since my entire HD is encrypted with LUKS and I would have to be present to enter the password to boot the system.).

View 7 Replies View Related

Debian Configuration :: Cron Jobs Not Running On XEN DomU

Aug 16, 2010

I have a XEN DomU VM running Lenny and set up using debootstrap. I also have the TimeWentBackwards issue sorted using: [URL]. The problem is that my cron jobs just don't run. I've set up a cron job that simply echoes a date string to a file as a tester but it's not running. I've tried it under the root crontab, in /etc/crontab and set up in /etc/cron.daily. Is there something I'm missing?

View 1 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 Servers :: Getting Emails From Failed Cron Jobs?

Jan 16, 2011

I recently set up exim so that I could test emails sent from my php sites. I have now been getting daily emails that either report errors from cron jobs or report a failure to send emails to root@cory-laptop or cory@cory-laptop about cron errors.I first of all don't want mail sent to the above addresses, because they are obviously not actual email addresses. Second, I'd really prefer not to get emails when an email failed to send to these addresses.

View 4 Replies View Related

Applications :: Correct Syntax For Scheduled Cron Jobs

May 25, 2010

I need to create the following cron jobs:

job #1: runs Mon, Tue, Wed, Thu, Fri, Sun at 9PM every month except for 15th
job#2: runs on 15th of each month at 9PM
job #3: runs every Saturday at 6PM every month

What is the correct syntax for this kind of scheduled cron jobs?

View 7 Replies View Related

General :: Make All Cron Jobs In Script Files?

Jun 28, 2010

in my linux box i have lot of cron jobs. i need to make all cron jobs in script files. is it possible to make this. like[URL]Now how i change this in a script file

View 4 Replies View Related

Software :: Write A Cron Jobs In System To Monitor Project Diskspace Usage?

Jul 28, 2011

How to write a cron jobs in linux to monitor my project diskspace usage?
check diskspce= du -h .

any clue for me as a beginner?

View 7 Replies View Related

Ubuntu :: Cron With Multiple Users?

Oct 31, 2010

Let's suppose that a machine has three users:

(1) david
(2) dan
(3) joel

The computer now restarts and during the log-in process, I choose to login into dan's account.

At this point, when I am logged in into dan's account, will Ubuntu run the crontab jobs that belong to david / joel?

View 4 Replies View Related

Ubuntu :: Way To Run CRON Job For Something That 'normal' Users Need To Run As SUDO?

Jun 5, 2010

As per subject, what's the best way to run a CRON job for something that "normal" users need to run as SUDO? There is a problem with the internal clock on my PC so at a regular time (every hour or day for example) I want to sync with my Network Time server. I use "sudo ntpdate time.bgr.local" as it is now and have to enter my user's password for it to work.I know root is disabled by default and would like to keep it that way if possible but if I have to enable it and then add it to root's cron list the so be it but would prefer not to.

View 5 Replies View Related

Ubuntu Servers :: Outside Users Unable To Connect To VOIP Server?

Feb 15, 2011

I am trying to setup a mumble server on Ubuntu Server 10.10. I have downloaded/installed all of the necessary files and configured my router to open up the necessary port (64738 ). However users outside of my network are unable to connect to the server (get Timeout error). Also to add, I am fairly new to using linux/ubuntu.I made a post on reddit where you will find more information regarding my problem: [URL]

View 5 Replies View Related

Server :: Postfix Local Users Unable To Send Mail

Jul 13, 2011

We are using postfix for relaying our internal system generated mail to other domain through google apps. All client servers able to send mail through the postfix server, only user of local postfix server(root, etc) unable to send mail with command like mutt, mail.My detail configuration given below:

Code:

postconf -n

output

Code:

alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix

[code]....

View 8 Replies View Related







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