Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cron.rm cannot remove @special entries #28171

@srkunze

Description

@srkunze

I have tried several ways removing a crontrab entry created by

salt-ssh minion cron.set_special root @hourly 'echo foobar > /dev/null'

All these variants don't work:

salt-ssh minion cron.rm_job root 'echo foobar > /dev/null'
salt-ssh minion cron.rm_job root '@hourly echo foobar > /dev/null'

Always the same output:

salt:/srv # salt-ssh minion cron.raw_cron root
minion:
    # Lines below here are managed by Salt, do not edit
    @hourly echo foobar > /dev/null

We currently use 2015.8.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Execution-ModuleP3Priority 3PlatformRelates to OS, containers, platform-based utilities like FS, system based appsbugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixhelp-wantedCommunity help is needed to resolve thisseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions