I've been looking around but haven't found a solution to my particular problem.
I need to create a cron job to backup a file system on daily basis. But the application needs the current date/time to run. Example:
bundle exec thor migrator:export /var/tmp/backups --after "2016-12-22 00:00:00 -0700"
How can I easily run the above command whereby the date will change daily? Time will remain the same.