Fedora :: Editing F-prot Entry On Crontab?
Jun 14, 2010
I just install F-prot software on my Fedora 13. The following entry was added to /etc/crontab16 * * * * <user> /home/<user>/Desktop/f-prot/fpupdate > /dev/null.I tried to use "crontab -e" or "-l" but unable to edit the crontab.
View 7 Replies
ADVERTISEMENT
Jun 23, 2011
is it possible disabling a crontab job without deleting the crontab description entry (by crontab -e)?I could also accept to change the entry itself. Now it's:0 0 * * 0-6 /home/me/cron/script.csh
View 4 Replies
View Related
Jul 21, 2011
I was trying to write a crontab entry using "crontab -e"
Code:
0 0 * * * cp /var/log/httpd/domains/mydomain.net.log
/home/admin/logs/mydomain.net.log
crontab is giving me this error:
Code:
"/tmp/crontab.XXXXfMOnRS":2: bad minute
errors in crontab file, can't install.
I've tried a dozen different values for the minute, but it's still giving me the same error.
View 5 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
Feb 19, 2011
I have installed Sabayon 5.4 on my laptop besides Ubuntu 10.10. During installation of Sabayon I did not opt for a bootloader as I did not want to disturb the already existing Grub2 on MBR from my Ubuntu installation.After successful installation of Sabayon, I booted into Ubuntu and updated the Grub which detected Sabayon correctly. Then I rebooted and tried to boot into Sabayon but I could not do so. The booting process stopped with the following error -
Code:
Activating mdev
Detected real-root as md device. Setting up device node
Scanning for Volume Groups
[code]....
So evidently, Grub has wrongly taken the values of root as /dev/md0 and swap as /dev/sda2.I again went back to Grub2 screen edited the Sabayon entry by replacing /dev/md0- with /dev/sda4 and swap:/dev/sda2 with swap:/dev/sda8 and pressed Ctrl+x. Now I was able to boot into Sabayon. how do I make these changes permanent. Which files should I edit so that Grub correctly read root as /dev/sda4 and swap as /dev/sda8?
View 4 Replies
View Related
Apr 27, 2010
I am using Linux 64 bit Redhat Linux. I am trying to setup simple crontab as follow...1. Edited crontab file using crontab -e2. Listed the file once to verify it using crontab -l. This will display as.. 18 5 * * 2-3 ksh $HOME/testScript.sh > $HOME/testscript.out3. Logged in a root and restarted cron deamon using "/etc/init.d/crond restart"As per my understanding now my testScript should start running at 5:18 am Thuesday
View 3 Replies
View Related
Sep 2, 2010
I recently made a script to automatically download a directory from my webserver using ftps (required by hosting company). It seems policy has changed again or something, because trying to download files gets the following error:
mirror: Access failed: 521 Data connection cannot be opened with this PROT setting.I can access the files just fine with Filezilla, but not lftp. I didn't change the code, but here it as anyway:
lftp -f ~/the/file/below
Quote:
open -u USERNAME,PASSWORD DOMAIN
lcd /local/place/to/put/files
mirror
quit
I tried manually, login works fine, but nothing can be done after that.until this works again I've broken a backup system of mine.
View 6 Replies
View Related
Apr 9, 2010
I am trying to install the apr port on freeBSD and I get the following error:
Code:
===> Checking if devel/apr already installed
===> An older version of devel/apr is already installed (apr-db42-1.2.8_2)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
[code]....
View 2 Replies
View Related
Aug 26, 2010
I have a question about using crontab with /etc/crontab...
I had a cron job that I needed to run as root. At the time I thought that sticking it in /etc/crontab would be a good idea. However, I used the crontab command to edit /etc/crontab, which I guess is not standard procedure? Specifically, I configured /etc/crontab as my local user's crontab (i.e. sudo crontab /etc/crontab) then added my cron job as I would a local user crontab (i.e. sudo crontab -e).
Originally, my cron job looked like this:
30 * * * * root /my/batch/script &> /dev/null
After adding the new cron job I started seeing errors. Something to the effect of "can't find command root" or something similar. So I removed the 'root' user definition from the cron job and the job started running fine. However, because this is /etc/crontab, there are other system related cron jobs that have been defined to run under the root account (e.g. "17 * * * * root cd / && run-parts --report /etc/cron.hourly" runs as root, etc.). So these pre-existing system cron jobs, which up until now have been running smoothly, are now generating "can't find command root" errors. But I think that the system cron jobs _are_ successfully being run someplace because logrotate seems to be working.
So what I _think_ is happening is that /etc/crontab is being run twice: once as the system crontab, and once as my sudoed local user's crontab. When I run crontab -l I see nothing, but when I run sudo crontab -l I can see the contents of /etc/crontab. I am reluctant to delete my sudoed local user's crontab, because then in the process I would be deleting the system crontab, and I do not know how I should restore the system crontab's contents. (I am still not sure as to the most appropriate way to edit the system crontab).
How can I get out of this mess? I want /etc/crontab to go back to the way it was before--running _once_ as the system crontab. As for my new cron job, I'm willing to reconfigure it anywhere so long as I am still able to run it as root. Any ideas? (I am using Ubuntu 8.04 Server LTE)
View 2 Replies
View Related
Apr 9, 2011
I have installed an application manager(monitoring application) on my linux server. Now, i need to have backup schedule for my application. The application itself has executive file to backup database.But when i put this file in my crontab to schedule the backup program it wont run!50 09 * * * root /opt/ME/AppManager9/bin/BackupMysqlDB.sh
View 1 Replies
View Related
Oct 28, 2010
I am setting my cron to work. I am in the roo account/ So first I type as vi crontab -e. Then it ask me type "visual" for normal mode and do that then I type the following as below 1 * * * * root usr/local/testClient/runClient.sh>/usr/local/testClient/cron1.log and press esc type wq. Then I restart the cron service /etc/init.d/crond stop and /etc/init.d/crond start. Lastly when I type crontab -l it tells me no crontab for root.
View 2 Replies
View Related
Jul 26, 2010
I have a problem using crontab. I have a C file which invokes a linux command. I want to execute the file using crontab. Its like whenever the system boots up and contents gets loads i want to execute this script. The problem is I don't know how to run the script using crontab. For eg if the file is present under /home/user/first.c . In order to execute this script whenever system starts wat wil be my command
View 7 Replies
View Related
Jun 11, 2009
I am practicing on "crontab" and am able to get system status in time but I want to shut my system through crontab.#15 12 11 06 thu init 0
View 1 Replies
View Related
May 6, 2010
I want to get mail from the crontab log file....
How to set log file in crontab and the second and how can i get mail from the crontablog file.
View 1 Replies
View Related
Dec 19, 2009
I am trying to set up an alarm via crontab. I can play music by "/usr/local/bin/mp3blaster /home/burak/Desktop/kemannnnn.mp3" command on terminal. However when I wrote this line in crontab it doesn't play:
04 19 * * * root /usr/local/bin/mp3blaster /home/burak/Desktop/kemannnnn.mp3
View 5 Replies
View Related
Jun 6, 2010
I used crontab to set a file playing at a certain time, this works fine; however I want this to run even if no-one is logged in (but the computer is on). I can't get it to do this
Line is: 30 06 * * * env DISPLAY=:0.0 /usr/bin/totem /home/adunaic/Playlist.pls
Okay I think the problem was with needing a GUI.
Using this instead works, but i only hear the sound when I log in. I think something needs to be doen to start the audio perhaps?
14 17 * * * export DISPLAY=:0.0 && /usr/bin/mpg123 /home/adunaic/alarm.mp3
View 8 Replies
View Related
Mar 31, 2011
I am unable to use crontab as a user on my system.
Code:
The error is: You (user) are not allowed to access to (crontab) because of pam configuration. I did just recently do an update but I am not sure why this is acting up. I also tried it as root and it also failed with a similar message. I had several crons that ran daily and they are not currently working also. I have selinux Disabled and it has been that way for some time.
View 5 Replies
View Related
Aug 14, 2011
I have been using a private computer on my departmental network. I am now in the process of switching to the public system. This is a system of different computers, each of which mounts the same homeserver directories for users. One may login to any of these machines and see the same home directory. The department is running a clone of Red Hat Enterprise Linux called Scientific Linux. It is not a lot different from Fedora Linux.
I copied a crontab entry form my private machine and ran crontab -e on one of these computers. I suppose it will now do what needs doing, but what if I need to change the entry or add other entries. I will have to search around for the one computer on which crontab is running. Is there some global network way to do the same thing, i.e., so that I can edit the crontab entries from any machine in the public network?
View 3 Replies
View Related
Jan 13, 2010
For some reason crontab does not work on my system.
Fedora Core 11
I am running from a Virtual Private Server.
Code:
Code:
View 2 Replies
View Related
May 27, 2011
I was trying to find documentation on how to add an a new object into openldap, however I can not seam to find a good walk through.
Just so everyone knows what I'm trying to do, I need to add a new object called bannerid, this bannerid is a unique id that will help me find student accounts in my openldap directly much quicker.
View 2 Replies
View Related
Apr 26, 2010
There are times that I would like to open an app as root user without having to use the command line in order to do that. I learned of a nice app in the Fedora repos called beesu and I will show you how to set up a menu entry to be able to use this nice app.
From man beesu:
Code:
See man beesu for more information.
Beesu can be installed in Fedora with the following command:
Code:
IMPORTANT: Beesu must be installed in order to successfully complete this tutorial.
You can use beesu from the command line with the following example:
Code:
This will open gedit as root user after the correct root password has been entered into the password prompt. This is great. However, I'd like to open an app as root user without having to use the command line or alt+f2 run box. So, I wrote a small bash script that uses zenity to prompt the user for an app to open as well as the root password.
Copy the following code into a new text file and name it mybeesu.sh.
Code:
You need to change the /path/to bit in step 4 "Command" to reflect the path to which you saved the mybeesu.sh script. Click the OK button to save the new menu item.
Now, when you click the new menu item from the gnome menu, a zenity window will open asking which app you want to open. After that, a second window will open prompting you for the root password. If all goes well, and you entered the correct root password, your desired app should open as if you used su -c 'foo' to launch it.
View 5 Replies
View Related
Jan 18, 2011
I installed centos 5 in my PC. When it come to boot loader section I choose another partition (boot) not master boot record. After installing successfully when I restart my PC it is not showing grub it is going stright away to windows. I have also installed window xp. How to add grub entry in mbr.
View 3 Replies
View Related
Jun 6, 2010
I have an old laptop that I installed EasyPeasy Lucid on. I have never used Grub2 as my other Ubuntu installs still use Grub Legacy. I have studied all the tutorials which instruct that the grub.cfg file should not be edited directly.This old laptop has one of the dreaded Intel graphics chips for which the kernel automatically loads the i915 module. Of course (like a multitude of others with Intel graphics and Lucid) I booted into a black screen but knew the workaround was to enable mode setting through grubI used the
Code:
i915.modeset=1
and added it to /etc/default/grub line GRUB_CMDLINE_LINUX, just after "quite splash", just
[code]....
View 9 Replies
View Related
May 29, 2011
What is the difference between the crontab located in /etc/crontab and the crontab that can be edited using crontab -e?
View 2 Replies
View Related
Jul 6, 2010
I have a feature that keeps me going back to Mac every night, and I was wondering if there was an equivalent. I have a nice app called alarm clock on Mac that plays music from my library on specified days of the week and times AND can wake the computer from sleep to do so. I was wondering if there was a Linux equivalent, such as crontab, that could do all those things. It's the last barrier to almost full time Linux use.
View 4 Replies
View Related
Feb 5, 2010
I am vijaya, glad to meet you all via this forum and my question is I set a crontab for automatic downloading of files from internet by using wget but when I kept it for execution several process are running for the same at the back ground. My concern is to get only one copy, not many copies of the same file and not abled to find out where it's actually downloading.
View 1 Replies
View Related
Sep 12, 2009
I want to avoid kernel id in Grub entry. I have searched before and one poster (can't find it again) posted a very simple Fedora Grub entry that just pointed to Fedoara's menu.lst. which worked.
For Suse I use:
title openSUSE 11.1 (on /dev/sda7) by symlinks
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 splash=silent showopts vga=0x31a
initrd /boot/initrd
savedefault
boot
I nave tried:
title Fedora
root (hd0,4)
rootnoverify (hd0,4)
chainloader +1
Where Fedora is on sda5 but, doesn't work for some reason.
View 6 Replies
View Related
Dec 27, 2009
Lately when Fedora 12 updates the kernel it defaults to the last kernel entry and not the newest one. However I set grub to boot entry 0 as the default which is allways the new kernel. It runs like this fine until the kernel updates then it seems to change from 0 to 1 on its own is this a new planned aspect of the new kernel being installed?
View 14 Replies
View Related
Mar 6, 2010
I'm using Fedora 12 with Gnome and I have a slight problem with my places menu. I have entries in the list that I would like to remove, but cannot figure out how. I multiboot Fedora with Windows 7 and windows 98. My Places menus looks something like this:
Places
Code:
Home Folder
Desktop
Music .....
Now, if you notice there are 2 entries for both my 'Storage' and 'Windows 98' partitions. On of them will actually open up a window showing the contents of the partition, the other displays an error which basically says "Unable to mount, drive is already mounted". Right clicking on the entry has the same effect as left clicking, it just brings up the error message. They do not appear in the Bookmarks menu.
View 11 Replies
View Related
Jul 1, 2010
The main Fedora repo file has this entry: baseurl=[url]
I want to know about the "$xxx" dollar sign bits - $releasever $basearch
I know from browsing there and certain mirrors that they contain directories for 13, 12, 11. So does that mean the file entry is just a "general" line but the version installation of yum _knows_ it should put 13 against those 2 entries?
IOW, does the background python script or binary expect to see that actual use of the dollar sign parts in the repo file?
I tried to make a new entry baseurl with a known mirror, making appropriate changes for its directory structure _and_ using the $xxx bits but on trying it out got errors usually about "repond.xml" and/or "gpg-keys".
I omitted them next just using the actual letters - .../releases/13/Everything/i386/os/
View 2 Replies
View Related