• Resolved pepe80

    (@pepe80)


    Is it possible to disable jobs in the wp-config.php file? I would like to achieve something like this:

    if (WP_ENVIRONMENT_TYPE == 'development') {
    	define( 'BACKWPUP_JOBS_DISABLE', true );
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support happyAnt

    (@duongcuong96)

    Hello @pepe80
    nice suggestion, I will forward your request to our devs, but you can always set up run the job with a link (in job -> Schedule tab -> run with the link), and you can totally control when to run your jobs by triggering the link.

    Thread Starter pepe80

    (@pepe80)

    Hi @duongcuong96, every few days I copy db/files from the production environment to the development environment and I would like the backups to run only on the production environment (without having to remember about it).

    Plugin Support happyAnt

    (@duongcuong96)

    @pepe80
    thanks, i already ask our devs about this little additional feature ^^

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to disable jobs completely depending on the environment?’ is closed to new replies.