An example of such a script is efitdb. When it receives a START parameter, it executes the following:
su - nstxops -c /usr/pppl/bin/db/efitdb.cron
source /usr/pppl/bin/cron.sh idl /usr/pppl/bin/db/efitdb_cron.pro
chgrp nstx_sw * chmod g+w *