LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 04-11-2008, 11:35 AM   #1
isync
Member
 
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, 12:17 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,783

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
What permissions did you apply to the script?
 
Old 04-11-2008, 12:45 PM   #3
isync
Member
 
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, 04:46 PM   #4
isync
Member
 
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 05:59 PM. Reason: update
 
  


Reply

Tags
cron


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 08:09 AM
adding a perl script to cron.daily / cron.d to setup a cron job CrontabNewBIE Linux - Software 6 01-14-2008 08:16 AM
cron file 000-delay.cron (it is on my FC5) - what is the purpose? jtmoon Linux - Server 1 03-08-2007 11:15 AM
cron not working from crontab nor form /etc/cron/cron.d. What did SuSE change? JZL240I-U Suse/Novell 11 01-04-2007 01: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 01:50 PM


All times are GMT -5. The time now is 01:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration