$ cat batch_the_command
#!/bin/bash
echo "This is the list of things to do for minute"
The command and response:
$ at -f /home/penguin/batch_the_command now
job 2174 at 2014-08-11 16:46
You have new mail
$ mail
& t
Message 1:
From penguin@localhost Mon Aug 11 16:46:12 2014
Return-Path: <penguin@localhost>
X-Original-To: penguin
Delivered-To: penguin@localhost
Subject: Output from your job 2174
To: penguin@localhost
Date: Mon, 11 Aug 2014 16:46:12 -0400 (EDT)
From: penguin@localhost (penguins_rule)
Status: R
This is the list of things to do for minute