Disabling Scheduled Jobs, Transactions, etc (from command line)?
Setting the environment to Staging/Development will turn off all schedule job from running unless you explicitly specify runInNonProductionEnvironment=TRUE in job parameter and also no emails will be send out from CiviCRM to any contact(will be logged in a file on server disk)

You can set the option to Staging/Development using one of the below methods


CiviCRM >> Administer >> Debugging and Error Handling, Select option for 'Environment'
cv api Setting.create environment="Staging" 
drush cvapi Setting.create environment="Staging" 
Over-ride settings by adding below lines in civicrm.settings.php


:

global $civicrm_setting
$civicrm_setting['domain']['environment'] = 'Production';
define( 'CIVICRM_MAIL_LOG', '/Users/pradeep/Sites/drupal7/sites/default/files/civicrm/templates_c//mail.log');