2 ms·
/me puts on Devil's Advocate hat > at runs a scheduled job once and then terminates, cron runs scheduled jobs repeatedly. Make recurring scheduled jobs resche
by simoncion 11y ago
/me puts on Devil's Advocate hat
> at runs a scheduled job once and then terminates, cron runs scheduled jobs repeatedly.
Make recurring scheduled jobs reschedule themselves as their last action. This makes your job scheduler do one thing and do it well. :P
> [ed] _can_ be used to search but it's very heavy for the task.
So? ed was around before grep. Grep is therefore redundant.
> grep also searches content of files recursively, where as find does not.
The point there was that find can recursively create a list of files for grep to search, passing them along to grep. This means that grep's -r switch is redundant.
/me removes Devil's Advocate hat
> cat and < are different...
If I had more time today, I would figure out if one can abuse the hell out of shell redirection to replace cat. It sounds like a fun way to waste a half-hour.