Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-23-2005, 09:55 PM   #1
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Rep: Reputation: 15
crontab x2???

so dig this, i was all hyped up to finally get my crontab issue working properlly, and when i do, it runs twice!

#MP3 alarm clock @ 5am
0 5 * * 1-5 /etc/cron.daily/mp3_alarm

is the crontab entry, and the script is here:

mplayer -really-quiet -shuffle -playlist /mnt/fat32/Albums/all.m3u

this is basically my crontab stuff for only user. root does not have this same script. which i why i dont understand why this runs twice! 0_o

it runs once at 4:48 am and another time at 5 am (when its supposed to).any ideas on whats causing this would be greatly appreciated. cause this is annoying as hell to know that i still have an extra 12 mins of sleeping before i had to get up.

oh yeah, theres only one instance of crond running.
Old 05-24-2005, 02:58 PM   #2
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
By default root has a job that runs all scripts on /etc/cron.daily at 4 40
Login as root, and type: crontab -l

Edit: Forgot to say, to solve it, just put your script somewhere else
And also, it must be taking some minutes to start because logrotate and slocate (actually, updatedb) are also inside /etc/cron.daily and they seems to be executing before yours.

Last edited by gbonvehi; 05-24-2005 at 03:06 PM.
Old 05-24-2005, 10:53 PM   #3
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 15
excellent. i didnt think of something so simple. we'll see how this works out, if all goes well, ill be able to sleep at night (pun intended).

as far as my script taking sometime to start up. last i checked, it starts right up. :-/

but, again, thanks for the input, it seems to make sense to me, if this will not work, ill post again @ 5:01 am -_-


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Crontab wormraper Debian 4 05-15-2005 01:01 AM
using crontab goodolday Linux - Newbie 1 04-26-2005 07:16 PM
How to use crontab ? Dakkar Linux - Newbie 2 01-22-2004 10:49 AM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 12:35 PM
HELP!! crontab karleong Linux - General 9 07-12-2003 10:54 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration