Slackware :: How To Properly Setup Crontab On 13.0 Machine

Dec 3, 2010

I'm running a Slackware64 13.0 machine with the following line at the end of crontab -e:
Code:
@reboot rm -rf /tmp/*
Yet /tmp is not clearing.
This exact same setup is working fine for me on two 13.1 boxes and a -current machine; what gives?

View 5 Replies


ADVERTISEMENT

Slackware :: Setup A Cron Job Using Crontab Entry

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

Software :: How Does One Properly Setup Mysql For Mythtv Under Slackware?

Jul 30, 2011

How would I edit the files, for this under slackware with permissions for my other users to use it? I have been following the guide, and I have not gotten far. I have created the recommend mythtv user and have mythtv installed. Also should I switch to 64bit slackware for this project? I have 1 gig of ddr2 ram, 64 bit capable pentium 4 ht cpu clocked at 3Ghz, 80gigabyte internal hard drive, and I have a wintv card.

View 2 Replies View Related

General :: RHEL6 Crontab Doesn't Work Properly?

Apr 26, 2011

In RHEL6 root's account I have crontab job: 30 6 18 4 1 /sbin/init 6 It worked fine on the 18th of April and properly restarted my system, BUT it also restarted my OS at 6:30 on next Monday - 25th of April.

View 2 Replies View Related

General :: Set Up A Crontab So That From Machine {which Is 192.168.0.99}?

Dec 5, 2010

I want to set up a crontab so that from my machine {which is 192.168.0.99}whatever I create in a directory called "/information" {suppose some texts files}will be copied to 192.168.0.100 and 192.168.0.101's machine "/readinfo" directory at 5.30 pm. everyday."/readinfo" is directory which is accessible by all users on that machines {192.168.0.100 & 192.168.0.101}is this crontab right?30 5 * * * /bin/cp -rf /information/* 192.168.0.100:/readinfo30 5 * * * /bin/cp -rf /information/* 192.168.0.101:/readinfoI guess first these 100 and 101 machines should allow me {99} ssh connection without passowrd.

View 5 Replies View Related

General :: Crontab Not Working \ Edited Crontab File Using Crontab -e?

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

General :: Setup Do Not Run In The Blank Crontab

Aug 13, 2010

I used to get the below when I ran crontab, but now its disappeared and my tasks I set up do not run in the blank crontab

#lxpr weekly cron job - Kickstart generated entry
0 1 * * 0 /opt/lxpr/lxpr -st /var/lxpr
#lxpr monthly job to clear down old dumps - Kickstart generated entry
0 1 28 * * find /var/lxpr -name "lxpr.`uname -n`*" -type d -a -mtime +30 -exec /bin/rm -r {} ;

View 5 Replies View Related

Slackware :: Take Current Windows7 (x64) Setup And Make It Into A Dual-boot Setup With Slackware 13.0?

Jan 24, 2010

I'm trying to take my current windows7 (x64) setup and make it into a dual-boot setup with slackware 13.0 (x32) and am hitting a brickwall. I guess I would like to know if I can salvage the situation without formating my windows drive. I fully intend to, but I had hoped to not do it this month. I'd like to get dual boot going so I can master it and acquire all the files/drivers I'll want and then format and do it 100% right next time.

Currently I have windows setup on a 3x 500gb Raid0 onboard array which itself has been flawless. After I shrunk my current partition size to give me about 25gb of free space I proceeded to setup Linux, and I was unable to perform the cfdisk portion for partitioning the array for Linux.

I tried using cfdisk:
/dev/hdx (a1-a3,b1-b3)
/dev/sdx (a1-a3,b1-b3)

I even attempted to locate with: cat proc/partition and tried using cfdisk on every device it located. It always said it was either an unknown partition table and should I start at zero, or bad partition. I was of course too concerned over my windows setup (which has almost 1tb of stuff I have not backed up) to go any further into the unknown.

PS: I have used Slackware before, back at 8.1, 10, and even a very brief interlude at 12.0, this is my first attempt on this computer however with 13.0, it is currently running fine on my laptop and my PS3 (Laptop is even dual booting 7/Slack13. Albeit without raid)

Phenom 9850
M2N-SLI Deluxe (Nvidia AM2)
4x1gb of 1066 kingston hyperX
3x500gb WD Caviar Black Sata2 3.0

View 3 Replies View Related

Fedora :: Crontab Alarm Setup - No Sound

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

General :: Setup A Machine Running Drupal CMS On A Debian Machine?

Aug 13, 2010

I'm know very little about Linux but decided to set up a machine running Drupal CMS on a Debian machine and it won't go. The folks at Drupal have tried to help but it seems the Debian OS won't do it's PHP thing for Drupal.

That means i'll have to start at the START I guess.

how to become a master of Linux if one is starting from ABC (I can add and subtract, that's what it feels like)

View 2 Replies View Related

Ubuntu Networking :: Setup A Ssh Tunnel From Machine A To Machine B?

May 29, 2010

I can set-up an ssh tunnel from machine A to Machine B:-

fred@my-linux:~$ ssh -P myport fred@myserver.homelinux.com

I can successfully logon to machine A to Machine B.

what address and port will my tunnel 'appear' on machine B? I want to send a stream back from B to A up the encrypted tunnel, not over the open network.

View 5 Replies View Related

Slackware :: Deleted Crontab By Mistake?

Oct 24, 2010

I was accessing my box externally (ssh) and accidentally deleted my crontab. I never used crontab before and issued the command "crontab -d" instead of "crontab -e" to edit and add my cronjobpretty useless because I had no back up of my crontab of course First question, is there going to be any direct issue on my box because of the crontab being erased ? (I am assuming so but do not know what type of problems..) Lastly, would I be lucky enough so that there is a way to recover my crontab ? (having gone through Google and whatnote, I doubt it)

View 10 Replies View Related

Slackware :: Write Script For Crontab Hdd Operation?

Dec 28, 2010

I have this Maxtor USB external HDD which I mount via dolphin-hal when needed. This HDD has a built in feature to 'sleep' if not used for some time, say 20 min. Now I don't want it to sleep because it irritates me to wait everytime for it to be active for use, so I figured crontab job should fulfill my requirement.

*Edit: I think a script needs to be executed every 15 minutes. The script has to do the following(I think):

Check to see if HDD is conected via USB:
If YES then - Do the below things
If NO - Do nothing

"Below Things":

Check if the ext4 fs is mounted on media/Maxtor-C; if yes then check if any file operation is being performed; if yes-do nothing, if no then write and remove an empty file. if hdd is connected but not mounted then hdparm -z /dev/sdxx (read partitions)

View 7 Replies View Related

Slackware :: Crontab - Fetchmail Sends Output To Mail Spool?

Jan 6, 2010

I'm new to mail via the CLI, so bear with me. I have this line in my crontab:

Code:
*/5 * * * * fetchmail
Which does check my mail every 5 minutes fine. But I get the command-line output mailed to

[code]...

View 3 Replies View Related

Slackware :: Slackware 13.37 64bit Not Booting Properly

May 13, 2011

I bought a new laptop HP Pavillion dv3-4170ee that has Core i5 2.53ghz dual core with hyper threading, intel hd graphics and Ati Radeon HD 5470 512 mb dedicated. It came with windows 7 64bit. It also has 6 gb ram(2gb in first slot + 4 gb in the second one).I installed slackware 13.37 64 bit. It installed just fine. installed lilo onto mbr. When it boots up it shows the slackware screen. I am able to boot into windows just fine. When I select Linux it boots into linux bios data check successful. lots of stuff goes on the screen the normal linux boot stuff. and then it goes to the next screen and stays blank

Nothing happens and even the hard disk light is not blinking.By the way the HDD is Western Digital.

View 4 Replies View Related

OpenSUSE :: Gedit 2.28.3 Not Working Properly For Its 'Search' Machine?

Aug 31, 2011

Gedit-2.28.3 text editor is not working adequately on Osuse 11.2: after selecting 'Search'--> 'Find/Replace'is not feasible to write properly in the corresponding box greyed/unabled)

View 2 Replies View Related

General :: Properly Share A File On Box With A Windows Machine In AD?

Oct 22, 2009

I have a linux (Ubuntu server 8) that is busy collecting data files for me, but I need to see them on a windows machine. The winXP computer is in an AD domain. The ubuntu server is running Samba and I believe I have set up sharing - I can see/list the files on winXP. however, when I try to open the files to read ( in this case by Wireshark ) I get a permissions denial. Where and how can I set those permissions?

View 1 Replies View Related

General :: Possible Disabling Crontab Job Without Deleting Crontab Description Entry

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

Ubuntu :: TV Setup - How To Get It Recognized Properly

Oct 22, 2010

I have plugged an LG TV to my laptop using RGB cable. However Ubuntu recognise it as another brand. The result is that the image of TV is shown reddish. How can I properly install the TV?

View 2 Replies View Related

Networking :: Packets Not Routed Properly After Setting Up Machine As Router?

Aug 13, 2010

I have three machines say A B and C. I want to make machine B as a router for A and C, so that the ping packets from C to A should be going via B. I have directly connected two interfaces(eth4) of A and B and similarly two interfaces(eth5) of B and C. I have even set up a route between B and C. 1. But I am not able to set a route between B and A.2. If I ping A from eth4 of B(viceversa) it works. When I ping B from eth5 of C it work but not the viceversa.3. Also, if I ping from C to A, B receives the packets, but not A.

View 3 Replies View Related

Ubuntu :: Setup Up Samba Properly To Get It To Work?

Mar 7, 2010

I just installed ubutnu 9.10 and just installed samba. I edited the config files to workgroup to dhome which is the work group all my windows comptuer uses to share files. I want to share files and also be able to access files off my windows computers. I got onne windows 2000 that has a username needed to be typed in to access it. the rest is accessable. In the config file. I uncommented the security= user thing. I now tried to access the network but still fails.

Here is what I can see. when I go to places and click network I see windows network and click it it will say dhome and Workgroup. when I click on the dhome folder it takes a while and then gives me the error saying sorry didnt' get a list from the server. what do I need to do to access the network?

View 1 Replies View Related

Networking :: Cannot Seem To Setup Gateway To Route Properly

Jul 24, 2011

I have setup a second machine with slackware 13.37, it is a "supermicro" which I picked up though my work. the idea was to set it up as a gateway and gradually expand my knowledge of sub networking, iptables, forwarding and the like. after a couple nights of forum searching and "o'reilly" book reading I am still unable to get a proper route working thru the "supermicro" to our dsl router.

What is setup?: I will start from my main machine simply calling it slackbox
slackbox: has two ethernet cards which i have given static ip's to
eth0 192.168.2.16 and eth1 192.168.3.11
eth0 (192.168.2.16) is connected to a switch and then to our dsl router, it is working, I am using right now to work on this forum.
eth1 (192.168.3.11) is connected to the "supermicro" thru a cross-over cable, it also is working, pinging the "supermicro" works.
default gateway on slackbox is set to be 192.168.3.10 (the supermicro)

I only set slackbox's default as 192.168.3.10 when testing to see if the supermicro gateway will work
supermicro: also has two ethernet cards which i have given static ip's to
eth0 192.168.3.10 (this is the card with the cross-over cable connected)
pinging 192.168.3.11 (the slackbox) works.
eth1 192.168.2.24 is connected to our switch as well, it is working, pinging our dsl router works.
default gateway on supermicro is set in rc.inet.conf to be 192.168.2.1 (which is our dsl router)

All my machines have two ethernet cards. This has just made it easy for me to test the setup while still having internet access on slackbox. Yet when testing the gateway from slackbox thru supermicro I am getting "Destination Host Unreachable".

View 13 Replies View Related

Ubuntu :: ERROR - Encrypted Directory Not Setup Properly

Aug 11, 2011

I had setup an encrypted home directory on my computer, following all the instructions. However, after one reboot, ecryptfs told me "ERROR: Encrypted directory not setup properly." So I rebooted into an Ubuntu Live CD and ran ecryptfs-recover-private. It found my encrypted dir and asked for my login passphrase. I entered it and it told me, "ERROR: The key required to access this private data is not available." Is there any brute force way to recover the key?

View 4 Replies View Related

Ubuntu Servers :: Create Script To Keep Machine Cluster Synced Properly Until Failover

Apr 26, 2010

I've been reading up on clustering a bit and want to create simple 2 machine cluster of which the 2nd one will turn on and take over traffic at the previous machine's IP (I'm aware there will be a couple minutes of downtime while the failover server boots). I've looked into doing a simple DNS round robin, but I think both machines would need to be online all the time for this to function correctly. I've also looked into linux-HA and GlusterFS but both seem a little intense for the simple failover I'm trying to achieve. One catch if approaching with DNS round robin... the server that I want to setup with a failover also operates as a DNS server. Anyone know the simplest way to complete this? One idea I had (that seemed like a bit of manual work): Create script that runs every 60 secs through CRON on firewall (running pfsense) and have it check if master-server is up. If it's not, it will send a WOL signal to the slave, which has a mirrored image of the first. the problem I have with that is I will also need to create a script to keep both synced properly which seems almost impossible if one is shut down until failover (my thought was periodic rsyncs.) Perhaps creating a FS to direct all files to for the master/slave would be the only way around that.

View 1 Replies View Related

Ubuntu :: ERROR: Encrypted Private Directory Is Not Setup Properly

Feb 4, 2010

I'm currently running Koala on a Dell Latitude D630. I've been with Ubuntu since Hardy, so I have some experience, but this is beyond me. Basically, I was at school, closed my laptop, and bicycled home. When I opened it up at home, I saw a blank screen. When I tried to reboot, I was told that the disk couldn't be mounted. When I boot a LiveCD, I can see my two disk partitions (/ and /home) as "16GB Filesystem" and "95GB Filesystem". The 16GB system can't be mounted, and I'm pretty sure is fragged. I tried reinstalling Ubuntu, figuring that would fix it, but no luck- it starts fine, but it gets about halfway through and then says it can't install the files.

The machine is still under a service contract with Dell, so swapping out the HD itself isn't such a big deal. It would be nice to get my data, though. I can successfully mount the 95GB (/home) system. I then see two folders "dan/" and "lost+found/". I can't enter the "dan" folder because I don't have permission. Opening a terminal and navigating to /media/95GB Filestystem/dan/ works if I "sudo su root" first, but not as "ubuntu" In the dan/ folder, all I see is "Access-your-private-data.desktop" (because my /home directory is encrypted) and "README.txt". The README says to run the command "encryptfs-mount-private".

When I do that, however, I just get the message ERROR: Encrypted private directory is not setup properly I tried putting my decryption password immediately after the decrypt command, a la: encryptfs-mount-private mypasswordgoeshere but with no change in results. The one ray of sunshine in all this is that I backup my /home directory to an external every week or two. So the actual data loss is not catastrophic. But it *has* been a busy week, so I would really like to recoup that data, since it includes little things like the first chapter of my dissertation, and the job negotiation emails in my .evolution folder.

View 3 Replies View Related

Ubuntu Security :: ERROR: Encrypted Private Directory Is Not Setup Properly

Dec 10, 2010

Long story short: I opted to encrypt my home, enter the passphrase and soon as I log out and rebooted, I got stuck with a message about /var/lib/ICEauthority file and other messages. So I've been trying to fix one issue at the time. The bottom line is that I'm trying to get to my private folder. Dropped in recovery mode:

[Code]...

View 3 Replies View Related

Slackware :: Which Is Best Free Virtual Machine To Run Windows On Slackware?

Feb 9, 2010

I know that there are lots of solutions, like Sun virtualbox, vmware, ecc ecc.What's the best choice? I'm searching the best compromise between license, stability, features, speed.

View 14 Replies View Related

Ubuntu Servers :: After Using Crontab With /etc/crontab / Giving Error "can't Find Command Root"?

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

Software :: Scheduling Backup In Crontab When Put This File In Crontab To Schedule The Backup Program It Wont Run?

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

Slackware :: 5.1 Surround Not Working Properly

Jul 10, 2011

i have problem to get my 5.1 surround sound card to work properly on Slackware 13.37 with example the Mplayer, Spotify or even when watching movie-clips at .....s. I have searched through forum but havent find any solutions to this problem.I have tested my sound card and it seems to work properly when executing "speaker-test -Dplug:surround51 -c6 -t wav" in the terminal. I have saved the ALSA settings through "alsactl store". But like i said, it still doesnt work with explicitly programs like Mplayer or Spotify, it still plays the sound as 2.1 (stereo).

View 3 Replies View Related







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