#51: Broken shell command substitution in crontab
Solved!
In a cronjob, I want to execute a date sub-command and substitute the results in place into the overall shell command. Something like:
1 5 * * * bash -c 'cp /foo/bar /foo/bar.$(date +%Y%m%d).sql'
Unfortunately, this breaks with an error at runtime:
/bin...
#28: crontab settings for deploying Ultrasphinx
Solved!
the SelfSolved instance deployed uses Ultrasphinx for its full-text indexer and search provider. The sphinx indexer needs to be run regularly to index new text that appears on the site.
I need crontab incantations to set the indexer to create delta indexes...