New answers tagged shell
How about simply not committing the debug config file? The production config file can still be in source control with a different name. Just have your build/packaging scripts rename it during build/packaging.
You can use mail or mailx to send email in UNIX. You'd call one of those utilities from your script or Java program and provide it with the necessary information to successfully send the mail. You'd then govern the calling of that function with the appropriate application of the chron utility.
$ is the default prompt prefix for a non-escalated bourn or sh shell on most *nix systems. It signifies that the code exemplified should be executed using one of those associated shells. zsh and csh have % as a prefix. The fish shell uses >. Putting the prefix is simply a quick way to let the reader know what shell the command is destined for.
Top 50 recent answers are included