Last active
December 15, 2015 21:09
-
-
Save mjdominus/5323656 to your computer and use it in GitHub Desktop.
cron abominations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
04 00 * * * /usr/local/bin/cronjob --rcpt [email protected] -c "yday=$(perl -le '@d = localtime(time - 7200); printf(q{\%04d-\%02d-\%02d}, $d[5]+1900, $d[4]+1, $d[3])'); $STARTERVIEW/bin/populate-email-open-tracking -v /vol2/log/ziprecruiter-cron/track-logs/track_log.\$yday-?? && $STARTERVIEW/bin/job_search_email_opens_by_domain" | |
# Riddles: | |
# 1. How many different quoting contexts are in this line? | |
# 2. How many different quote characters are there? | |
# 3. How deep is the deepest level of quote nesting? | |
# 4. Explain the difference between the first \ and the last \. | |
# 5. Which of the following changes would be innocuous: | |
# a. "..." to '...' | |
# b. '...' to "..." | |
# c. Both (a) and (b) | |
# d. $(...) to `...` | |
# If you were planning to send me your answers, please choke to death first. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment