Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-11-2008, 12:35 PM   #1
Registered: Feb 2007
Posts: 32

Rep: Reputation: 15
cron on debian 4.0, what use have the cron.xxxx folders?

I am running debian 4.0 and thought, the folders under /etc labeled cron.daily, cron.weekly etc are for scripts that are executed on that basis.

So I wrote simple .sh scripts and copied them into the dirs. Nothing happens!

Why? Can somebody shed some light onto the overall concept?
Do I have to fiddle with crontab...?
Old 04-11-2008, 01:17 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
What permissions did you apply to the script?
Old 04-11-2008, 01:45 PM   #3
Registered: Feb 2007
Posts: 32

Original Poster
Rep: Reputation: 15
in /etc/cron.daily its a symbolic link (all permission) owned by root

pointing to /root

where the script had very limited permissions. I changed this now to 0755.
Old 04-14-2008, 05:46 PM   #4
Registered: Feb 2007
Posts: 32

Original Poster
Rep: Reputation: 15
Still, it doesn't work.

Anyone with a short introduction to the overall cron layout/functionality on debian 4.0?

So far, I have found this post about how the cron directories / crontab works.

Last edited by isync; 04-14-2008 at 06:59 PM. Reason: update



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
shell script using /etc/cron.hourly to execute cron.php file? rioguia Programming 3 06-11-2008 09:09 AM
adding a perl script to cron.daily / cron.d to setup a cron job CrontabNewBIE Linux - Software 6 01-14-2008 09:16 AM
cron file 000-delay.cron (it is on my FC5) - what is the purpose? jtmoon Linux - Server 1 03-08-2007 12:15 PM
cron not working from crontab nor form /etc/cron/cron.d. What did SuSE change? JZL240I-U SUSE / openSUSE 11 01-04-2007 02:57 AM
Can any one plz explain why/what for cron.d, cron.daily, cron.weekly etc are there. mavinashbabu Linux - Newbie 4 09-21-2006 02:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:13 PM.

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