ImportCumulusFile: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
15 bytes removed ,  21:14, 22 August 2017
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 table=Realtime type=realtime key=secretKey retainVal=7 retainUnit=day
   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.


Navigation menu