Hi, I searched the internet and use the following script to send a notification email when a R program is done. However, I found that it always sends me email immediately even when R is still running. Is there anything wrong in this script? Thanks.
Code:#!/bin/sh clear R CMD BATCH --vanilla ./Programs/ranktest20110415.R ./Programs/ranktest20110415.log & ssmtp xxx@me.com < jobdone.txt
Bookmarks