1,123
edits
Line 71: | Line 71: | ||
Version 2.0 of the script can also be invoked from a command line. So for example importing the realtime file from the command line would look like this: | Version 2.0 of the script can also be invoked from a command line. So for example importing the realtime file from the command line would look like this: | ||
php importcumulusfilev2-0.php file=realtime.txt | php importcumulusfilev2-0.php file=realtime.txt type=realtime key=secretKey retainVal=7 retainUnit=day | ||
This allows you to run the script as cron job on a Linux server, or as a scheduled task on a Windows server. | This allows you to run the script as cron job on a Linux server, or as a scheduled task on a Windows server. | ||