Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta CLI
  • Search

Delete all cron jobs of some user

Questions regarding the Command Line Interface
CLI
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
neiklot
Posts: 13
Joined: Tue Jan 19, 2016 9:56 am

Delete all cron jobs of some user
  • Quote

Post by neiklot » Thu May 19, 2016 9:30 am

I want to delete every cron job of one user, but there is no cli command to do it.

We have the command v-delete-cron-job that allows you to delete one cron job at a time but there is nothing like v-delete-cron-jobs.

Do you know one way to delete every cron job at a time?

Thanks a lot!
Top

mkaand
Posts: 15
Joined: Fri Jan 12, 2018 11:25 am
Contact:
Contact mkaand
Website Twitter

Os: Ubuntu 17x
Web: apache + nginx
Re: Delete all cron jobs of some user
  • Quote

Post by mkaand » Fri Jan 12, 2018 3:21 pm

First you need to get list of all cron jobs with v-list-cron-jobs
Then you can make For loop to delete all of them.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “CLI”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password