LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-29-2008, 06:05 PM   #1
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Rep: Reputation: 30
cron entry doesn't start


Hi,
i added a crontab entry, which was supposed to start in 2 minutes. I waited and it didn't. Here's the entry:
Code:
pimp:/# crontab -l
# m h  dom mon dow   command
59 23 * * 1 apt-mirror /etc/apt/mirror.list &
The "mirroring" was supposed to launch at 23:59 every Tuesday... It was 23:55 when i finished editing. I then restarted and waited, but no process was launched.

Ideas?

Thanks
 
Old 01-29-2008, 06:07 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Ideas?
Use full path to apt-mirror?
 
Old 01-29-2008, 06:20 PM   #3
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Emerson View Post
Use full path to apt-mirror?
Full path doesn't make any difference either for "apt-mirror" or for a custom script of mine, too....
 
Old 01-29-2008, 06:46 PM   #4
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Original Poster
Rep: Reputation: 30
Solved.... "Sunday" corresponds to "0"
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making Cron entry through perl scripts devkpict Linux - Software 1 10-20-2007 07:40 AM
will this cron entry do what I want it to? microsoft/linux Debian 4 01-12-2006 06:29 PM
script automatically add entry in cron daemon? Thinking Linux - General 1 03-30-2005 05:27 AM
Cron Entry tor updatedb? Snump Mandriva 3 10-02-2004 05:37 AM
how to make a cron entry? (perl) akaash Programming 2 05-06-2004 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:55 AM.

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