So I have a shell script that outputs a format of 2021-01-15 02:20:33. It works in command line and AppleScript but doesn't work in automator. Not sure how to troubleshoot it i've done a few searches but nothing comes up that addresses this issue of a shell script not outputting value in automator.
works in:
- terminal
doesn't work in automator
any help would be appreciated




tm.shto your question. Also, why not make thetm.shexecutable and then execute it directly without having to pass it tosh?/bin/date:set timeStamp to do shell script "/bin/date +%Y-%m-%d' '%H:%M:%S"? And you don't need redundantas string.