X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=infobase%2Fconfiguration%2Fcron%2Faa_cron_defaults.crontab;h=c8ff3ebe422c2f76cdf9750b78311ab9763181c0;hb=21f18eb5cf7bf7a4c645efa968bb391713639402;hp=e076698b66515f44821694565533547ec90b3534;hpb=333f96baec606086883c01f379acbf8ed62a5ddf;p=feisty_meow.git diff --git a/infobase/configuration/cron/aa_cron_defaults.crontab b/infobase/configuration/cron/aa_cron_defaults.crontab index e076698b..c8ff3ebe 100644 --- a/infobase/configuration/cron/aa_cron_defaults.crontab +++ b/infobase/configuration/cron/aa_cron_defaults.crontab @@ -14,11 +14,16 @@ # HOME, which is pretty lucky for us... # please change the name to the user running the cronjob, or to whatever # unique string you'd like to use: -CRONUSER=FILL_CRONUSER_HERE +CRONUSER=FILL-CRONUSER-HERE # set the shell to bash. (not the default for some cron implementations.) SHELL=/bin/bash +# set the top-level folder for feisty meow here; important because cron gets +# almost nothing from the user's environment. this folder needs to be updated +# for your own particular install location. +FEISTY_MEOW_APEX=/opt/feistymeow.org/feisty_meow + # crontab miniature docs: # # below is the short form key to the crontab positional entries for times: @@ -61,6 +66,6 @@ SHELL=/bin/bash # runs every minute and recreates a fortune for thunderbird signature. # a lot of the detail below is to get the feisty meow environment loaded for # the new_sig command. -* * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; perl $FEISTY_MEOW_SCRIPTS/text/new_sig.pl) &>>/tmp/${CRONUSER}-cron-nechung_fortune.log +* * * * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; perl $FEISTY_MEOW_SCRIPTS/text/new_sig.pl) &>>/tmp/${CRONUSER}-cron-nechung_fortune.log