script launches app into the background via screen
[feisty_meow.git] / scripts / schedule / generate_reminders.pl
index 0cb70081583b5400f0a64cc0fdadb322d86486fa..aed6b9d498f69c0504992171cb0676c7dcf653f9 100644 (file)
@@ -26,7 +26,7 @@
 # The day must be a number, followed by a space.  Anything after that
 # space is considered the description of the event.
 
-require "importenv.pl";
+use Env qw(CLOUD_BASE TMP);
 
 ##############
 
@@ -43,7 +43,7 @@ local($CAL_FILE);
 if (! $CAL_FILE) {
 #  print "the CAL_FILE variable is not set.\n";
 #  print "defaulting it to a value that probably does not suit you.\n";
-  $CAL_FILE = "$QUARTZDIR/database/calendar.dat";
+  $CAL_FILE = "$CLOUD_BASE/magic_cabinet/lists/calendar.dat";
 }
 
 #print "calfile is $CAL_FILE\n";