[newbie] Crontab on MD 9.2

2004-01-05 Per discussione Jason Crowder
OK.  I found another problem with Mandrake 9.2 that I can solve.

My crontab doesn't run.  Below is what my /etc/crontab file looks like. 
I have backup routines that are supposed to kick off and create tar
balls of my files.  But nothing happens.  I don't get any emails from
Cron saying that ran.  Any ideas why Cron isn't running?

/etc/crontab:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root nice -n 19 run-parts /etc/cron.hourly
02 4 * * * root nice -n 19 run-parts /etc/cron.daily
22 4 * * 0 root nice -n 19 run-parts /etc/cron.weekly
42 4 1 * * root nice -n 19 run-parts /etc/cron.monthly
00 3 * * * /root/vscan
00 5 * * * /home/laptop/laptop.backup
00 6 * * 0 /home/laptop/sunday.backups
00 2 * * * /root/updates
00 1 * * * /usr/local/f-prot/tools/check-updates.pl
00 7 1 * * /home/laptop/monthly.backups



signature.asc
Description: This is a digitally signed message part


Re: [newbie] Crontab on MD 9.2

2004-01-05 Per discussione Jason Crowder
On Mon, 2004-01-05 at 07:41, Derek Jennings wrote:
 Type 'mail' in a root terminal and you should see the emails cron has been 
 sending you every time it fails.
 Put a full email address in the MAILTO= field and you will get the mails in 
 your regular mail account (So long as you have a mail server installed or an 
 smtp transport application like ssmtp)
 

root is aliased to my regular email account.

 Also if you install webmin from your CDs and type
 https://localhost:1 in a browser you can view your cron jobs and run them 
 from within webmin. (Note:  https NOT http )

Yes, I know.  They are listed under webmin--which is how I originally
set them up.

 And finally Please do not hijack threads by changing the title of an existing 
 post. It does not worry me, but some people get seriously pissed off by it.
 

Whatever.   Its a whole lot easier than adding the address to my address
book.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] Crontab on MD 9.2

2004-01-05 Per discussione Jason Crowder
No, I'm not getting any emails from cron at all.  I've never seen this
problem on any of my other linux boxes, nor of any of them that I
support at the University.  Cron appears to be running.  I even
installed anacron as a comparison, and anacron isn't finding any cron
scripts that are not being touched.  It looks like cron is touching the
scripts, and is running, but isn't running anything.

On Mon, 2004-01-05 at 08:09, Tony S. Sykes wrote:
 Are you getting emails from the other cron scripts? Is cron running in
 MCC?
 If you can run the scripts from the command line then the permissions
 are okay.
 
 -Original Message-
 From: Jason G. Crowder [mailto:[EMAIL PROTECTED]
 Sent: Monday, January 05, 2004 2:57 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [newbie] Crontab on MD 9.2
 
 
 The scripts can be executed by root and run fine with root.  Do they
 need to be permissible by anything else?  I am not at home at the moment
 but I can post the exact permissions on those scripts later. 
 
 -Original Message-
 From: Tony S. Sykes [mailto:[EMAIL PROTECTED] 
 Sent: Monday, January 05, 2004 7:10 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [newbie] Crontab on MD 9.2
 
 Have your scripts got the correct permissions?
 
 -Original Message-
 From: Jason Crowder [mailto:[EMAIL PROTECTED]
 Sent: Monday, January 05, 2004 1:48 PM
 To: [EMAIL PROTECTED]
 Subject: [newbie] Crontab on MD 9.2
 
 
 OK.  I found another problem with Mandrake 9.2 that I can solve.
 
 My crontab doesn't run.  Below is what my /etc/crontab file looks like. 
 I have backup routines that are supposed to kick off and create tar
 balls of my files.  But nothing happens.  I don't get any emails from
 Cron saying that ran.  Any ideas why Cron isn't running?
 
 /etc/crontab:
 
 SHELL=/bin/bash
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 MAILTO=root
 HOME=/
 
 # run-parts
 01 * * * * root nice -n 19 run-parts /etc/cron.hourly
 02 4 * * * root nice -n 19 run-parts /etc/cron.daily
 22 4 * * 0 root nice -n 19 run-parts /etc/cron.weekly
 42 4 1 * * root nice -n 19 run-parts /etc/cron.monthly 00 3 * * *
 /root/vscan 00 5 * * * /home/laptop/laptop.backup 00 6 * * 0
 /home/laptop/sunday.backups 00 2 * * * /root/updates 00 1 * * *
 /usr/local/f-prot/tools/check-updates.pl
 00 7 1 * * /home/laptop/monthly.backups
   
 
 -+-+-+-+-+-+-+- Business Computer Projects - Disclaimer -+-+-+-+-+-+-+-
 
 This message, and any associated attachment is confidential. If you have
 received it in error, please delete it from your system, do not use or
 disclose the information in any way, and notify either Tony S. Sykes or
 the postmaster mailto:[EMAIL PROTECTED]  immediately.
 
 The contents of this message may contain personal views which are not
 necessarily the views of Business Computer Projects Ltd., unless
 specifically stated.  
 
 Whilst every effort has been made to ensure that emails and their
 attachments are virus free, it is the responsibility of the recipient(s)
 to verify the integrity of such emails.
 
  
 Business Computer Projects Ltd
 BCP House
 151 Charles Street
 Stockport
 Cheshire
 SK1 3JY
  
 Tel: +44 (0)161 355-3000
 Fax: +44 (0)161 355-3001
 Web: http://www.bcpsoftware.com http://www.bcpsoftware.com/
   
 
 -+-+-+-+-+-+-+- Business Computer Projects - Disclaimer -+-+-+-+-+-+-+-
 
 This message, and any associated attachment is confidential. If you have
 received it in error, please delete it from your system, do not use or
 disclose the information in any way, and notify either Tony S. Sykes
 or the postmaster mailto:[EMAIL PROTECTED]  immediately.
 
 The contents of this message may contain personal views which are not
 necessarily the views of Business Computer Projects Ltd., unless
 specifically stated.  
 
 Whilst every effort has been made to ensure that emails and their
 attachments are virus free, it is the responsibility of the recipient(s)
 to verify the integrity of such emails.
 
  
 Business Computer Projects Ltd
 BCP House
 151 Charles Street
 Stockport
 Cheshire
 SK1 3JY
  
 Tel: +44 (0)161 355-3000
 Fax: +44 (0)161 355-3001
 Web: http://www.bcpsoftware.com http://www.bcpsoftware.com/ 
 
 
 __
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
---
Jason Crowder
Senior Computer Support Specialist
Information Technology 

The geeks shall inherit the earth. 
-- Karl Lehenbauer 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Crontab on MD 9.2

2004-01-05 Per discussione Jason Crowder
On Mon, 2004-01-05 at 08:26, Anne Wilson wrote:
 On Monday 05 January 2004 15:11, Jason Crowder wrote:
  Whatever.   Its a whole lot easier than adding the address to my
  address book.
 
 Right-click - add to addressbook
 or
 Right-click - copy to clipboard
 
 Anne

Or.

Reply.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com