Slackware :: Messed Up Is Cron.hourly Scripts
May 26, 2010
I messed up when I chose my server for slackpkg updates, I chose one for Slackware13 rather then Slackware13 64. This caused some issues when I accepted the updates. I got a fair bit up and running again, but one thing that seems to be messed up is my cron.hourly scripts. I am not entirely sure what happened, but they are not running.
View 2 Replies
ADVERTISEMENT
Mar 25, 2010
I have an rsync script I wrote that I have tested and it works perfectly when I run it manually. Now I am working on a server setup script and I have gotten my setup script to create the rsync script in /etc/cron.hourly and restart crond. To spite the fact that the script is in /etc/cron.hourly and I have restarted crond, the script does not run. With that said, how can I script adding the rsync script to run hourly as a cron job?
View 9 Replies
View Related
Apr 16, 2011
I have Compaq Presario CQ62-215DX notebook (laptop) computer with built in image of Windows 7. I use partitioning tool to create partition of 250GB hard drive. I created these partitions as NTFS partition. My issue is after creating partition of 75GB whereby I want to install Ubuntu using ubuntu-10.10-desktop-i386.iso file from dvd drive; I cant install.
I use ext4 file system to install ubuntu and mountpoint is root After user setup it stops at this point:
UBUNTU CRON [9354]: (root) CMD (cd/run-patsreport/etc/cron.hourly)
It doesnt install ubuntu on separate partition. how to install ubuntu on separate logical partition? Windows 7 is in primary partition.
View 1 Replies
View Related
Jan 26, 2010
I have just updated current to get the new kernel and things seem to have gone just a little wrong.After upgrading i edited lilo.conf and ran all seemed fine so i rebooted to find my pc wont boot it cannot find modules and there will be trouble ahead it think it says (will check the error and add it).So i thought no problem i can just boot from an old disk i have laying around and fix it from there. I only had the 12.2 install disk or ubuntu 8.10 live cd neither of witch support ext4 which i stupidly decided to format my drives in.
Anyways i now have a ubuntu 9.10 disk and have booted and try to fix things but am miffed at whats going on. If i chroot into my slack root and look in my /boot there is only the old files before the update, but if i mount the drive in ubuntu there are the new files from after the update.What has happened and how can i fix it? It has just occurred to me i could use a tmp dir and copy the correct /boot files there then in the chroot copy them to /boot may work ?
View 14 Replies
View Related
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
Nov 10, 2010
Some of you are probably not going to believe this, but I've been using Linux for like four years and have never used cron for task scheduling before. Now I want to and I'm not sure how to do it. Could somebody link me to some good info? The results of a Google search were kinda confusing.
View 5 Replies
View Related
Mar 16, 2010
I'm going to rebuild a computer for a friend of mine. I'm going to install 12.2 in it and wanted to see if there was a way to install patches automatically from a cron. I don't think slackpkg can do such thing as a cron, correct? For anyone that set up a Slackware box for someone with little Linux knowledge, how did you handle the ability for the person to update the box?
View 13 Replies
View Related
Jul 10, 2011
So, my mother is out in the deep country and all we can get is Xplornet Satellite internet. They have a fair access policy (FAP) that says they will (and definitely do) throttle your speeds if you download more than 50MB or upload more than 5.5MB in one hour. This restriction resets hourly. As you can imagine, this is fairly limiting, but we have to live with what we have as there are no other options specifically where we live. Right now, I have Conky configured to show the ${totalup wlan0} and ${totaldown wlan0}, but that is per session. In this example, since the computer started, 8.74MB have been downloaded and 1.95MB uploaded. However, this information is somewhat irrelevant as we really only need to know the current usage starting at the top of the hour. Maybe even show the previous hour too.
View 9 Replies
View Related
Jan 8, 2009
How i can configure an hourly graph on munin?
View 2 Replies
View Related
May 31, 2010
I am trying to setup a cron job using crontab entry like this 6,16,26,36,46,56 * * * * /usr/bin/fetchmail -k>/dev/null 2>&1 But nothing is happening This is the first time I have attempted using cron as I have settup mutt for my email which is now working great but I would like to have the mail collected every 10 mins The file is saved as mailcron in my /home folder. When i run crontab -l its listed ok but no mail is appearing in mutt.
View 10 Replies
View Related
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
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
May 25, 2010
What command would I use to clear dns and cache on a hourly basis.
View 1 Replies
View Related
Oct 26, 2010
I need to process a log file on an hourly basis but the log only rotates once a day.Basically, I am trying to get the difference between the previous file and the current file based on datetime. ie. The new file's datetime events > previous file's datetime events.The first field in the files is datetime.
Code:
2010-10-27 01:57:32,aaa.bbb.ccc.ddd,host1
2010-10-27 01:57:32,aaa.bbb.ccc.ddd,host2
[code]...
View 4 Replies
View Related
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
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
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
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
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
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
May 3, 2010
I played around with KDE and eventually messed up. My right click on the desktop doesn't work and the panel goes from the original color to black when I extend it. I even lost the "clickable" in the upper right part of the desktop. I already tried System Settings > Desktop > Defaults > Apply. Doesn't work for me.How could I revert to the default settings?
View 8 Replies
View Related
Jul 30, 2010
I don't know what I have done this time, but on my desktop I have the cube effect, which is working fine. But now when I minimize a page it goes to the opposite end of the taskbar instead of to the workspaces I have.Using Ubuntu 10.04. Not sure if I have explained this properly. Also when I flip the cube to a clean desktop and open a new browser, it doesn't open on that side of cube , but reverts to original workspace and opens in a new tab there.
View 3 Replies
View Related
Aug 23, 2010
I wanted to try out the new Ubuntu Light theme that is coming up in 10.10 and I didn't like it because my notification area didn't match the top panel, so I restarted the top panel and my notification area was not there. So I changed back to Elementary and it still wasn't there. Then I tried restarting the gnome-panel again and my name wasn't there. >.< Can anyone help me on how to get it back?
View 1 Replies
View Related
Oct 11, 2010
Decided to try Meerkat. Looks great from the USB. With Lucid installed on Dell Optiplex with Windows XP - worked out ok.Installed Maverick Meerkat from USB and now no OS at all. I only get a prompt to re-try booting or to enter set-up.I installed Meerkat to the existing Lucid partitions, a / and /home partition, but I'm not even getting as far as grub-menu at boot.In the first attempt the installer installed grub to sda, (the hdd), and that didn't work, so I tried re-installing with a separate /boot, (sda7), partition, and still no love.
One of the problems is that on the Dell there is a /dell utility partition at the beginning of the disk, so I can't really move that to put a /boot partition at the beginning.Oddly, Lucid had no such problem. Lucid installed and recognised Windows XP, but when I try the same install procedure with Meerkat I draw a blank.
View 1 Replies
View Related
Apr 11, 2010
I recently decided to study c programming, and I am using the vi editor under Redhat. But the other day I did a fat finger at my #include header file in the vi editor and now all words "include" are all highlighted blue; if i type in another include as soon as I finish the word it automatically highlights blue. How can I undo this
View 2 Replies
View Related
Mar 28, 2010
Seems like everything started after using the command grub-install /dev/sda1 [the partition where Vista is installed]When I choose Vista as the operating system it displays a scary error: Code: Windows failed to start. The selected entry could not be loaded because the application is missing or corrupt.However, Windows XP & Fedora 12 work perfectly.
View 5 Replies
View Related
May 29, 2011
After fiddling around with extensions for a while i noticed that my rhythmbox notifications didn't have the normal icons anymore (back, pause/play, forward). Instead the only button avalable is [Next].
View 14 Replies
View Related
Sep 13, 2010
When I use google images, or I look at images for changing my desktop background, the images become heavily distorted. Here is a screenshot
View 4 Replies
View Related
Mar 19, 2010
I Installed compiz Plugin Today And It Was Somehow Working Good.Then a terrible problem happened.when i click the right click on my mouse it do wobly windows.i can't click anything if i didn't click Ctrl I mean i have to Press Ctrl+right-click to click Something I tried to uinstall compiz but nothing happened.
View 9 Replies
View Related
Mar 21, 2010
I messed up with my Firefox installation so that I could install a newer version. But when I downloaded from Mozilla it was plain tarball with nothing but a bunch of binary files in it. How do I reinstall Firefox to the exact previous state from repos? And what if I don't wanna install that old 3.0 but the newer version?
View 4 Replies
View Related