Debian Configuration :: Cron.daily Not Running Daily On Laptop?
May 31, 2011
I am running on a laptop and cron.daily is set to run at 0625 So I wonder what happens if my machine is not turned on at that time.. At that rate it could also be off for the other periods as well (weekly, monthly) Is there solution that will allow them to run once they are online after the appointed time? using a cron entry that runs every 15 or 5 or 1 minute.
I have two custom tasks running daily. How do you give priority to one over the other?One of them is configured via the logrotate.conf. The other sits directly in cron.daily.I'd like the one in cron.daily to run after the script that is in logrotate.Please can you advise how to do this...
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.)
I installed Chromium Browser and made it default. The version which is available through squeeze and wheezy main is a dinosaur, and as such I cannot install any Chrome addons. I tried ubuntu or launchpad ppa for Chromium-Daily. I added [URL] maverick main to my Third party Repositories. Its not working.
The terminal returns an error: W: GPG error: [URL] maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A9BF3BB4E5E17B5
I have an issue, it doesn't happen every day, I can't seem to trace it down. It happens at 4:02am the cron.daily kicks of at 4AM.. The following is from the /var/log/messages. I receive an panic error then the server shuts down.
since I setup my system so that I'd receive system errors via email, I get an email each day from /etc/cron.daily/apt.Just wondering why this is, how I can fix it, or if I can just remove apt from cron.daily?uote:
To: root@jon-desktop Subject: fcron <systab@jon-desktop> run-parts --report /etc/cron.daily /etc/cron.daily/apt:
I'm with Ubuntu server 10.10. I created a script and put it in /etc/cron.daily. But looks it doesn't run (it didn't generate any log). The following is all I did. Code: root@chonseng1:/var/log# cat /etc/crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' command to install the new version when you edit this file and files in /etc/cron.d. These files also have username fields, that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command 17 * * * * root cd / && run-parts --report /etc/cron.hourly 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) # root@chonseng1:/var/log# ls -l /etc/cron.daily/ntpdate -rwxr-xr-x 1 root root 52 2011-02-18 13:22 /etc/cron.daily/ntpdate root@chonseng1:/var/log# cat /etc/cron.daily/ntpdate ntpdate ntp.ubuntu.com >>/var/log/ntpdate.log 2>&1
I made a big rookie mistake in a script in cron.daily, which emptied the directory when I tested it... now I'm left with an empty cron.daily directory, and from what I know there definitely were more scripts there than only my own. Does anybody know what scripts CentOS 5.4 (Final) needs in the cron.daily?
I have noticed that in the /etc directory there are some subdirectories of /etc/cron.daily and /etc/cron.hourly. Also I have determined that there is a service included as part of the Fedora OS 'crond' which I have started with the use of 'service crond start'. My question is this. If I drop an executable file into the '/etc/cron.daily' directory will it just run? If not what configuration files should I go about editing to run my executable daily? There seems to be a pretty large network of cron related files. I'm trying to make sense out of all of it.
I'm using Debian 5.0.4 Lenny. Daily my logs kern.log, messages, and syslog are filled with errors regarding dircolors: Quote: Aug 24 23:05:34 myserver.com kernel: [1906415.362252] dircolors[11556]: segfault at 0 ip 08049e30 sp bfffcd4c error 6 in dircolors[8048000+8000] Aug 24 23:08:02 myserver.com kernel: [1906563.298468] dircolors[12296]: segfault at 0 ip 08049e30 sp bffff61c error 6 in dircolors[8048000+8000] Aug 24 23:10:30 myserver.com kernel: [1906711.794160] dircolors[12914]: segfault at 0 ip 08049e30 sp bfffe8fc error 6 in dircolors[8048000+8000] etc...
I've googled this to death and still haven't found a solution to fix or stop this. I read on man dircolors to: dircolors --version The output I receive on this cmd is only: Segmentation fault I do: dircolors --print-database The output I pasted here since it is quite long: [URL] It ends with: .wav 00;36 Segmentation fault
I just noticed that my ClamAV is too old, and it will no longer start:
Starting ClamAV daemon: clamd LibClamAV Warning: *********************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: ***********************************************************
[code]...
Problem is, that there is no newer version for Debian Lenny.I did my aptitude-update and aptitude safe-upgrade, but nothing newer is available.I want to stay within stable (cuz it is a production server). What am I to do?
I am trying to build a test VM with VirtualBox 3.2.8, hosted on Ubuntu 10.04 amd64. I am trying to install Debian Squeeze from the daily build (specifically, from the following URL):
[URL]
(I've also tried the netinst ISO in the same directory.) The sha1sums are correct for each image.
When I start the VM, it refuses to boot, giving me the message "FATAL: No bootable medium found! System halted."
I would like to note that I've used VirtualBox for several years now, and GNU/Linux since 1995. So I have some experience in the field. (Of course experience is not much guard against brown-bag mistakes.) I've tried this same VM with an Ubuntu ISO (simply switching the attached ISO in the config), and it boots and installs OK.
Is there a known problem with the daily builds vs. VirtualBox?
I'm a relatively new Debian user, having come from Ubuntu. I recently bought a Dell micro-server to function as my Kodi media player. I installed an nVidia GeForce 210 to output to my Pioneer home theatre amplifier. The amp takes all my inputs (eg. Satellite set-top decoder, PS3, Kodi etc) and outputs to the TV. I installed XFCE as my desktop environment so that I could still interact with it via VNC.
Everything is working great except for one exceptionally annoying problem! Every day, I find that I am having to VNC into the desktop, load up nVidia X Settings, and change my screen resolution from Auto to 1920x1080 because it has lost the display configuration and the screen is blank. I presume this happens when the amplifier switches from one input to the next. It doesn't matter if I save the configuration to my X11.conf file or not - it still resets itself.
Before, this setup would run for months without any intervention (Same amplifier + HP microserver + Ubuntu + LXDE + ATI video card), so I'm pretty confident that the issue is either Debian, XFCE, or the nVidia card.
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?
So I'm getting a new laptop soon, and it ships with Windows 7 64-bit. So I assume I have to use 10.04 64-bit. I noticed that the download page says "not recommended for daily use". I was wondering why this is, and if there were any things I need to look out for when using Ubuntu and 64-bit. I read the older FAQ thread in the closed 64-bit forum, but I wanted to make sure I got more recent information.
I have a 64-bit computer and needed to download 10.04 again and now notice the following:64-bit - Not recommended for daily desktop usage.This worries me so I would like to ask a couple of questions here if I may.
QUESTION ONE What version, on a 64-bit machine, should I download for use every day and all day?
QUESTION TWO If the answer to Question One is, "use the 32-bit version", and I have 8GB of memory, I can only use 3.4GB with 32-bit so would the other memory be available to use if I downloaded vbox and used a second operating system?
inside my Linux I am using virtual box to launch windows xp. I have one shared folder between the operating systems so as to share my files As I can not trust virtual box and windows xp... can you suggest me an easy way to take daily backups of one of the folders I have inside that shared folder?The files are mostly html files so the file size is not so much of a problem (at least I think!)How can I take daily backups so to not lose something?
I am just in the process of setting up a new laptop which came with Windows 7 64 bit installed. I am going to set it up to dual boot Windows 7 and Ubuntu. When I went to get the Ubuntu download I noticed that the 64 bit version is labelled with
Not recomended for daily desktop usageNot recomended for daily desktop usage
Why would this be? Why is 64 bit Ubuntu not recommended for daily desktop usage?
How do you download Daily show videos like the ones from this link [URL] on windows I was able to use "Replay Video Capture" or "GEtFLV". Are there any programs which will allow me to download their videos for Linux?
I am running firefox-mozilla-build (3.6.3-0ubuntu1) on 8.04 32 bit (this is not the system listed in my sig or user information). In general it works very, very well. Every day Adept has me update xulrunner-1.9.
I can run apt-get autoremove, update, upgrade with no errors. I see others on this forum have this error, but I can find no solutions posted for it. I used to run Namoroka 3.6.2pre from launchpad and had the same problem. Nothing could uninstall it except Synaptic "Completely remove". I removed all firefoxes and xulrunner at that time and then reinstalled 3.6.3 which works great. I hoped that would fix the xulrunner issue but no dice. While running 3.6.2pre I had the same issue.
is anyone else experiencing difficulties with the latest chromium daily build? whenever i click to launch it, it appears, then closes 1 second later i know that chromium daily build is obviosly not suppost to be a reliable browser, im just curios to see if anyone else is experiencing difficulties aswell
It's my personal computer, no other users, no one else in the house. I'm behind a separate stand alone firewall (Checkpoint device). I'm the admin on my machine and I'm going to enter sudo, or login as root, every time I need it anyway.
There's no way that having to switch to root is going to make me stop and think about what I'm getting ready to do. In fact it's quite the opposite. If I'm in the midst of troubleshooting, I'm preparing to enter a command that I think is going to work, and I get "Permission denied"... The aggravation is more likely to reduce my logical thinking, and I'll immediately switch to root and type it anyway.
I DO understand the rational of setting users (even admin users) to a lower permission level. However I don't understand the lack of a command to make a user PERMANENTLY root equivilent. Switching back and forth is a waste of time. AND it means that I now have to deal with two home directories... /root and /home/user. Having to type sudo, or su to switch to root, does not protect my system. It only aggravates.
my wife's desktop has been freezing almost daily, leading to a reboot. It's an HP Pavilion (specs here) and it has Ubuntu 11.04 installed since soon after 11.04 came out. There doesn't seem to be really any rhyme or reason to the crashes, except that it might happen more often when she's web browsing with Firefox. I tried looking at /var/log/syslog, but to be honest I wasn't really sure what I was looking for. I did notice that syslog would stop recording at the same time the mouse and keyword freeze. Has any one seen this problem or be able to give me some advice on how to find out what's going on?