Jump to content

[SOLVED] Automated script


manuelgod

Recommended Posts


Well, at the end of the shell script (korn, sh, etc.) just issue the command again. So he would run the script once and before completion the script would set the next job up. E.g.

/scripts/myscript.ksh
!#/bin/ksh
do something
at time /scripts/myscript.ksh
exit 1

This would basically create an infinite loop until the script were killed and the jobs were deleted from the atq.

Regards,

Neil.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.