Added scheduled task script for issue #221.