This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Howto delete scheduled operations

Hi there!
We are using a SUM to manage 50 UTMs.
In the meantime there is a amount of 400 old scheduled operations listed in the SUM. It seems that I have to delete them manually.
Is there any chance to ged rid of them in an easier way?

Thanx a lot!!! Jochen


This thread was automatically locked due to age.
  • Hey Jochen,

    I'm afraid there is no way in the UI to get rid of all finished scheduled operations. But you can log into the UTM console (e.g. via ssh) and then execute the following commands:

    /var/mdw/scripts/accd stop
    psql -U acc -c "delete from action_info where data like '%finished%'"
    /var/mdw/scripts/accd start

    But this is not a supported way of working with the SUM.

    Best regards,
    Sebastian
  • Hi sebokopter!
    Sorry for my late answer, but I had a hard week;-))
    Your script works and it's a great help for me. Thanks!!!
    After executing the restart-command, I get the following hint/error:
    ==========================
    Error executing '/var/chroot-accd/usr/share/acc-upgrade/17/U10supported_capabilities.pl'!

    Died at acc-upgrade.pl line 135.
    =========================
    Everytheing seems to work.
    Is it important for me or can I ignore it?

    Thanxs;-)) Jochen
  • Hey Jochen,

    if you didn't upgrade the SUM after invoking my given commands, you can safely ignore this error message. But it may break other things in the future. 

    To help you to get rid of this issue, could you please tell me what SUM version you are currently using (the output of the command "version" would be great)? Could you also send me the output of the following command?

    psql -U acc acc -c 'select * from device_info;'

    Since the last mentioned command contains information about your SUM like IP addresses you may not want to share it publicly. I'm sending you my official E-Mail address per PM if you are more comfortable to send it only to me.

    Best regards,
    Sebastian