Ubuntu :: Finding A Place To Put Scripts To Be Run By Cron?

Jul 22, 2010

I'm not using the anacron folders like cron.daily and such so I'm not just plopping them in there. I'm using cron.d so I have more control over when my scripts are run.I currently have them just sitting in my home directory but this isn't really ideal since they're system-wide scripts . Where in my file system should I put these scripts to be run by cron?

View 1 Replies


ADVERTISEMENT

Debian Configuration :: Get Cron To Send Messages In First Place Instead Of Root?

Mar 25, 2010

The system crontab (/etc/crontab) uses the same format, except that the username for the command is specified after the time and date fields and before the command.

[code]...

Every hour, I get an e-mail complaining about the first line of the crontab:

[code]...

I get the same complaint from the other entries: It looks to me as if cron, or anacron, is trying to execute the user (root) as a command. Predictably, the shell doesn't like it, so barfs and triggers an e-mail about it. Why is this not doing what the man page says it should do? The 2nd problem I believe is related to exim, not cron. The e-mails I'm getting above are being bounced from my ISP because they are directed to root@myisp.com, rather than my regular e-mail address. When the message bounces, it bounces to my regular e-mail address. In /etc/aliases, I have root: [URL]... and in etc/email-addresses I have root: [URL]... Adding the entry to /etc/email-addresses allowed the bounce to find me because the sender's address is [URL]... but how can I get cron to send these messages to me in the first place, instead of root?

View 11 Replies View Related

Ubuntu Servers :: Finding Proper Place To Mount A NFS Share?

Oct 26, 2010

What is the most proper place to mount a NFS share? I have an NFS server that shares up data to my network. Should I mount it under /mnt/NFS, /media/NFS, or /home/user/NFS? Under /mnt, I notice that a disk icon does not appear when using Gnome.

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

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

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

Ubuntu :: Use In Place Of CPU-Z And For Monitoring Temps?

Jun 28, 2010

what I can use in Ubuntu for monitoring CPU core temps, CPU and memory speed and such, used CPU-Z, prime, HD tune up and and the like when OC'ing and UC'ing my Windows PC's but what Ubuntu equivalents are there?

View 9 Replies View Related

Ubuntu :: How To Place Web Content On Desktop

Oct 7, 2010

I'm wondering how you can post web content on your desktop like you can in windows. Like to have your XBL gamercard on your desktop sort of thing. But what I want it for mainly is to put the countdown to 10.10 on there.

View 1 Replies View Related

Ubuntu Servers :: When Place An Index.PHP, Get Nothing At All?

Jan 6, 2011

got my server up, installed FTP and all those goodies. And then i got some fun. Index.HTML shows perfectly. But when i place an Index.PHP, i get nothing at all.I get this error actuallyServer error.The website encountered an errorretrieving http://192.168.1.102/. It may be down for maintenance or configured incorrectly.Here are some suggestions:Reload this web page later. More information on this error

View 7 Replies View Related

Ubuntu Installation :: Place GRUB 2 On The MBR?

May 15, 2011

I have the following setup
a) 1st sata hdd - Ubuntu 9.04 (32 bit)
b) 2nd sata hdd - Win7 (64 bit)

I am on GRUB legacy. I am going to do a clean install and replace Ubuntu 9.04 with Ubuntu 10.10. I plan to leave my Win7 install alone. When I am installing Ubuntu 10.10 over Ubuntu 9.04, where should I place GRUB 2? The choices I've always seen: i) MBR or ii) boot sector of Ubuntu

I do not recall which setup I have now but I can confirm that when I start the computer, I get a GRUB menu that lets me choose Ubuntu or Windows. Ubuntu is the default if no choice is made within 20 seconds. I like that setup and want to replicate it with GRUB 2, if possible. If that is what I want, then I should place GRUB 2 on the MBR, correct or not? Note, I do not intend to install any other OSes. In other words, my 1st sata hdd will only have ubuntu and my 2nd sata hdd will only have windows.

View 3 Replies View Related

Ubuntu :: Can't Place Certain App Launchers In Dock

May 15, 2011

Some app launchers can't be placed in the dock. The ones i have trouble with are the three games from Humble Frozenbyte Bundle, namely Shadowgrounds, Shadowgrounds Survivor and Trine. Their launcher icons look fine on dash, but when i start dragging them and the dash disappears, the icon turns into a question mark. Items on dock make room for the question mark icon, but after dropping it, it disappears and the dock icons return to where they were.

I guess there's something non-standard about the launchers. The games are installed under my home folder, and the game icons are xpm files in the game folder, like /home/veepee/.trine/Trine.xpm for example. The executables are in the same folder, like /home/veepee/.trine/trine-bin.

Too bad the print screen key doesn't take screenshots when the dash is up. What's up with that anyway?

View 4 Replies View Related

Ubuntu :: Desktop Icons With Same Name Show Up In Their Old Place?

Mar 14, 2010

Whenever I add something to my desktop, if something with the same name has been on my desktop previously (like 'screenshot.png'), it will go to where it was previously, which sometimes causes the icons to overlap and what not.

I just wanted to know if it was possible to make the icons always go to the first open place.

View 4 Replies View Related

Ubuntu :: Stopping Icons From Snapping In Place?

Mar 27, 2010

how do i make it so that all the desktop icons in my xubuntu session are freely movable? right now they are snapping into pre-determined positions (does that make sense?)...

View 2 Replies View Related

Ubuntu :: Window Buttons At Wrong Place?

May 2, 2010

my window buttons are at the left corner, it works but i love it more when they are in the right corner. So what i must do to change the position to the right corner?

View 6 Replies View Related

Ubuntu :: Place Thunderbird 3 In Notification Area?

May 17, 2010

Been using this lucid, is it possible to place thunderbird in the notification area so tat i dont have to close the window accidentally often.

View 3 Replies View Related

Ubuntu :: Installing BURG In Place Of GRUB?

May 28, 2010

while using StumbleUpon to find all things computer related, I found a VERY interesting article on BURG, something that makes grub look beautiful.My question is, how safely can I install this? Could somebody modify the instructions for me if my Linux drive /dev/sdb, and I have /home and /usr mounted on different partitions? Working with the bootloader has always been a wee bit over my head

View 3 Replies View Related

Ubuntu Servers :: Put A Few Login Restrictions In Place?

Jun 3, 2010

I've got Ubuntu server 10.04 set up and I wanted to make a few restrictions. It's pretty much just acting as a VMware server at the moment, and there are some users I've created who I only want to be able to be able to log into the VMware infrastructure web interface. I want to make sure these users can't log in via SSH, FTP, or the console itself. I understand how to block them from logging in via SSH by using DenyUsers, and I added these users to the /etc/ftpusers file to lock them out of FTP, but how can I block them from logging in at the console itself?

I tried locking the user out by editing the /etc/passwd file, but the problem is that by doing this, it also prevents the user from being able to log into the VMware web interface.

The user's entry in /etc/passwd looks like this: bsmith:*:1005:1005:Bob Smith,,,:/home/bsmith:/bin/bash

View 3 Replies View Related

Ubuntu :: GIMP To Work For Place Of Business?

Jul 1, 2010

I need GIMP to work for my place of business. When I open gimp in terminal and run the program, everything is fine untill I click on either smudge, pencil, text tool, etc. It just crashes, and terminal says this: gimp: fatal error: Failed to register GObject with DBusConnection script-fu:2795): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

View 2 Replies View Related

Ubuntu :: Place Windows At The Top Of GRUB Menu?

Aug 19, 2010

At the moment my GRUB 2 boot menu has all the Linux kernels, then memtests, then Windows. I want it to have Windows, then Linux, then memtests. I'm thinking I can do this by renaming /etc/grub.d/10_linux, 20_memtest86+ and 30_os-prober to 20_linux, 30_memtest86+ and 10_os-prober respectively.

View 2 Replies View Related

Ubuntu :: Change Place Of Mounting Icon?

Dec 23, 2010

I need to know if there is a way on Gnome to change the default place where the mounting icon appears.

By default, when you plug an USB device or a SD card, the icon displays in the upper left corner. I need that it displays on the upper right.

View 1 Replies View Related

Ubuntu :: Place Shortcuts To Different Application On Desktop?

Jan 7, 2011

Can i place a some cool shortcuts to different application on my desktop. How can I get these cool looking shortcuts. I also want to know that can I put some Gadgets on desktop like gadgets in Windows 7.

View 2 Replies View Related

Ubuntu :: Uninstall And Install Mint In It's Place?

Mar 16, 2011

I got bored with Ubuntu pretty quick, and now just want something that works fast on my netbook, so I want to uninstall Ubuntu and replace it with Linux Mint xfce I was wondering if there was a way I could do that directly? I should add that my netbook is currently dual booting win7 starter and Ubuntu 10.10 netbook edition

View 9 Replies View Related

Ubuntu Networking :: How To Remove A 'netowork Place'

May 19, 2011

when i first installed ubuntu on my asus eee netbook it would seem to scan and scan and scan for my local wifi network. i created a network foolishly thinking this would help. how do i remove it. my router is working fine. ipod touches and macbooks find the network no problem. my netbook randomly logs into this network or the proper network.

View 1 Replies View Related

Ubuntu :: Install Gnome3 In Place Of Unity?

May 20, 2011

how to install gnome3 in place of unity. is switching to Gnome3 a good idea. cant we keep both G3 & Unity and switch in between.

View 6 Replies View Related

Ubuntu :: Is There 'common' Place To Create Directory?

Jun 18, 2011

When "installing" a program that basically just unpacks into a directory of your making. Is there a "common" place to create the directory? I usually end up making it my home folder, but that gets crowded.

View 9 Replies View Related

Ubuntu :: No Place To Post Bugs In Launchpad?

Jul 28, 2011

I cannot find where to post bugs in the launchpad anymore? What happened to the launchpad? It's sort of goofy that there is no (report a bug) link anywhere. But if you search bugs then you can see a link to the right, but nothing anywhere else. And even then you can only post a bug regarding that same category and subject. So it would appear the launchpad has a bug, or I just can't figure out how to navigate to report a bug.

View 9 Replies View Related

OpenSUSE Multimedia :: Installed 11.2 On A Computer In Place Of Ubuntu 9.10?

Feb 23, 2010

I recently installed openSUSE 11.2 on a computer in place of Ubuntu 9.10. In Ubuntu, Totem will play a midi file. How do I make that happen in openSUSE? I don't know which package I need to install to make that happen.

View 7 Replies View Related







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