Concatenating date and cycle count to file on startup
Thanks to @MateusvSzlosek, The following one-liner works:

echo `date`@`system_profiler SPPowerDataType | grep "Cycle Count" | awk '{print $3}'` &gt;&gt; output.txt