Gary and Vince After sending my previous post, I started reading some more about memory leaks. It appears that cron jobs (if poorly coded) can sometimes be the cause. With that in mind, I am attaching both the cron, and the process it starts so maybe you can pick up something. I am also having a problem with the crontab; if I issue the command crontab -l I get the following at the end:
The cron: # m h dom mon dow command [email protected] 59 23 * * * /home/bin/./weewxbackup I want to edit this crontab to stop running the following process, but when I issue crontab -e I get a generic crontab, not the one I wish to edit. The process (weewxbackup in /home/bin) #!/bin/bash #This script zips and backs up to web site #Following line added to prevent "TERM invronment variable not set" error export TERM=${TERM:-dumb} clear echo "Backing up weewx.sdb" cd /home/weewx/archive sudo cp weewx.sdb weewxpi2.cpy sudo gzip weewxpi2.cpy sudo lftp -e 'put /home/weewx/archive/weewxpi2.cpy.gz; bye' -u xxxxx, xxxxxxxftp.xxxabcd.org sudo rm weewxpi2.cpy.gz echo "Done - weewxpi2.sdb zipped and uploaded to xxxabcd.org" -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
