X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=infobase%2Fconfiguration%2Fcron%2Faa_cron_defaults.crontab;h=51a73ff46d2a617a2437ec106d33ab7450f11fc9;hb=89bbd8fff37ad9c060c989b07fb6d2fb87972a7d;hp=a91c88bcc52266c08de05f1e0a3ab4f8ce4a91f7;hpb=4cfdd08aaad4926a3133d96076d3e4cae78adb3a;p=feisty_meow.git diff --git a/infobase/configuration/cron/aa_cron_defaults.crontab b/infobase/configuration/cron/aa_cron_defaults.crontab index a91c88bc..51a73ff4 100644 --- a/infobase/configuration/cron/aa_cron_defaults.crontab +++ b/infobase/configuration/cron/aa_cron_defaults.crontab @@ -14,11 +14,17 @@ # 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=fred +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 +#FEISTY_MEOW_APEX=$HOME/feisty_meow + # crontab miniature docs: # # below is the short form key to the crontab positional entries for times: @@ -61,6 +67,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 $HOME/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