Skip Navigation

[Resolved] Set an expiration date based on form date in order to change pos status to trash

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 18 replies, has 2 voices.

Last updated by Waqar 1 year, 5 months ago.

Assisted by: Waqar.

Author
Posts
#2487517

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Great, I'll wait to hear back from you.

#2488381
Capture d’écran 2022-11-03 080125.png

Hi i'm back with bad news... the test did not work, the test post i've created yesterday and which was suposed to be puted to trash today at 01h am is still published. As if expiration did not work....

#2490973

Hi! Were you able to make any progress on my problem?

#2491119

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

On your website and its clone, I see that the no option is selected for "Check for expired posts" frequency at WP Admin -> Toolset -> Settings -> Forms.
( screenshot: hidden link )

In the database, I find the option named "rsssl_le_daily" being selected for this setting, but, since this CRON schedule is no longer registered/defined on the website, it is not effective.

Have you previously added some custom code or a third-party plugin to register more CRON frequency schedules?

Either way, please select and save from one of the available schedule options, and the CRON for the post-expiration should work.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.