🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #1521

cron on my machine does not seem to be working

#1521
From: Wassim M. Jabi
Date: Thu, 15 Oct 1992 17:06
43 lines
1876 bytes
Hi:
I have the following commands appended to my /usr/adm/daily

# ------
# Perform daily backup to internal hard disk (/SCSI1/Backup)
cp -r /users /SCSI1/Backup
echo "Backup done on "`date` | mail -s "Daily Backup Report" wjabi
# ------

This used to work under NeXTStep 2.*
Since I upgraded to 3.0 I noticed that it neither does
the copy nor the e-mail. I don't think it is consulting
the file at all. Anyone knows why?

I checked cron, permissions, files, etc., Couldn't find
anything wrong with them, what am I missing? here they are:

libra> ps -aux | grep cron
wjabi      195   1.0  0.6 1.52M  208K p1 S     0:00 grep cron
root       132   0.0  0.8 1.51M  256K ?  S     0:00  (cron)
libra> 

libra> cd /etc
libra> ls -al cron*
-rw-r--r--  1 root         236 Dec  9  1991 crontab

libra> cat crontab
0,15,30,45 * * * *      root /usr/lib/atrun
0 2 * * *       root  /bin/sh /usr/adm/daily >/usr/adm/daily.log 2>&1
30 3 * * 6      root  /bin/sh /usr/adm/weekly >/usr/adm/weekly.log 2>&1
30 5 1 * *      root  /bin/sh /usr/adm/monthly >/usr/adm/monthly.log 2>&1
libra> 

libra> cd /usr/adm
libra> ls -al daily
-rw-rw-r--  1 root        1046 Oct  8 16:35 daily

Thank you.
--
Wassim M. Jabi                            (313) 936-0229
Doctoral Program in Architecture, University of Michigan
2000 Bonisteel Boulevard  Ann Arbor  Michigan 48105-2313
wjabi@libra.arch.umich.edu             NeXTMail-friendly
Technical Details
Message-ID: <-17-Ja@engin.umich.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!news

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!news
From: wjabi@libra.arch.umich.edu (Wassim M. Jabi)
Subject: cron on my machine does not seem to be working
Message-ID: <-17-Ja@engin.umich.edu>
Date: Thu, 15 Oct 92 13:06:07 EDT
Organization: The University of Michigan, Ann Arbor
Keywords: cron
Reply-To: wjabi@libra.arch.umich.edu
Distribution: usa
Nntp-Posting-Host: libra.arch.umich.edu
Lines: 43