NOTE:
This solution only works for Linux/UNIX based shell script toolkits.FKM and FTM plugins have built in filename date expansion variables such as <today>
But in Toolkit, you can use Linux/UNIX's built-in date command and its various options within the file path and the Toolkit plugin will recognize these as well.
But in Toolkit, you can use Linux/UNIX's built-in date command and its various options within the file path and the Toolkit plugin will recognize these as well.
You can use the date command and its format options within the file path like the following example in your sampler script execution
This should automatically expand to the current date with the filename formatted to Report_YYYYMMDD similar to having Report_<today> in FKM/FTM
/bin/cat /mnt/files/reports/closereport/Report_`date +"%Y%m%d"`.csv
This should automatically expand to the current date with the filename formatted to Report_YYYYMMDD similar to having Report_<today> in FKM/FTM
Comments
0 comments
Please sign in to leave a comment.