Automatically set expiry dates on cron run

Created on 25 October 2018, about 6 years ago
Updated 10 October 2024, 2 months ago

Is it possible to set Expiry dates on cron run as bulk_assign for IPs where date is Not set?

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇱Israel GlobusTours

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India divyansh.gupta Jaipur

    Hello @GlobusTours,
    I have tried to reproduce this error and latest code already includes the necessary hooks and functions for managing the expiry of blocked IP addresses in your blocked_ips_expire module. This issue no longer exists in your 7.x-1.0 version so please convert this issue into fixed.

  • 🇨🇦Canada mparker17 UTC-4

    @divyansh.gupta, the code that runs on cron only deletes IP addresses that have an expiry date that has passed.

    As I understand it, @GlobusTours requested that IPs that are missing expiry dates are assigned a [new] expiry date (i.e.: in addition to what it does now).

Production build 0.71.5 2024