Header Shadow Image


Schedule job on linux using at

[root@mbpc-pc mnt]# at now htpc.ksh
syntax error. Last token seen: h
Garbled time
[root@mbpc-pc mnt]# at now
at> /mnt/htpc.ksh
at>

job 12 at 2014-10-12 14:04
[root@mbpc-pc mnt]#
[root@mbpc-pc mnt]# ps -ef|grep -i htpc.ksh
root 26031 26030 0 14:04 ? 00:00:00 /usr/bin/ksh /mnt/htpc.ksh
root 26042 24646 0 14:04 pts/2 00:00:00 grep -i htpc.ksh
[root@mbpc-pc mnt]#

For reoccurring see cron.

Cheers,
TK

Leave a Reply

You must be logged in to post a comment.


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License