Questions tagged [content-expiration]

27 questions
0
votes
2 answers

Expiration date for items in the past in wordpress - not showing current date

I'm using the following code to hide posts in the past in wordpress (the date is coming from a custom field I've made called date) - problem is its also hiding ones set to today's date as well
zander
  • 11
  • 1
0
votes
1 answer

Creating expiration functionality with firebase realtime database and firebase functions?

Short general question: Is there a listener (either with firebase realtime, functions, or generally) I can set on a date stored in a firebase realtime object, that deletes the object when the date expires? Long specific question: I'm working with…
0
votes
1 answer

How can I count expiration date in Grails, if I know the amount of time left?

I want to insert expiration date in Redis based on TTL. How can I count the expiration date? I'm trying to use TimeCategory class, here is the example: def ttl = 3600; def date = new Date() TimeDuration duration = getSeconds(ttl) TimeDuration…
Leocete
  • 195
  • 2
  • 15
0
votes
1 answer

Delete row after ten minutes not being used ("expiry")

I am using a MySQL database on a LAMP stack. I have a table in which I got some simple entries. These entries are supposed to automatically be deleted after ten minutes not being used. "being used" is defined as being inserted, updated or simply…
Jannis Jorre
  • 142
  • 3
  • 12
0
votes
1 answer

Add an expiry to win32 software using visual studio 2013

Hi I have made a software which now I have to send to a colleague of mine. However I need to add an expiry so that the software stops running after 10 hours of total use. I don't know how to begin to go about this challenge. Can you direct me to…
newbie2015
  • 581
  • 5
  • 29
0
votes
1 answer

How to set objects to begin/expire at date/time in MVC 5

As part of the requirements for my project, I need to set up objects so that they begin/expire. This has to be done without a user actually going to the page, as I need to set up notifications for these events. Meaning it has to run without user…
Rasen244
  • 137
  • 1
  • 2
  • 11
0
votes
2 answers

Joomla expired article

I have a list of articles in Joomla, these are events and are ordered in the front-end on date (from old to new). I filled in "finish publishing" as the date when the event ends. I understand that when the finish publishing date is reached, the…
Prastow
  • 178
  • 1
  • 19
0
votes
1 answer

PHP page with video visible only one time without database

I have a .flv file. This file needs to be hosted on our FTP server, and I need to make a php page that displays this video. This video should be visible for only one pageload. for example: http://somepage.com/?id=akudps2 with this URL it will load…
user2452250
  • 777
  • 2
  • 11
  • 26
0
votes
2 answers

Google Content Experiments for whole part of the site

I want to run an A/B-test or an experiment for whole part of the site. For example on my /blog/ page, where one variation would have a newsletter form and other variation a free ebook download button. The problem is that I have to use a full URL…
0
votes
1 answer

Default expiry date of all types of file

Despite of doing it in each file type handler, is there any simple way to set default expiry date of all types of file, e.g. json, jpg, html, css, js, etc?
k.k. lou
  • 1,805
  • 2
  • 13
  • 16
-1
votes
1 answer

how to set data expiration policy in DolphinDB

For the data in DolphinDB DFS databases, how can I set data expiration policy? For example, data before 6 months ago are automatically deleted. Thanks!
M Lewis
  • 11
  • 2
-1
votes
2 answers

Make All Keys Expire By Default In Redis

I'm using MSETNX (http://redis.io/commands/msetnx) as a locking system, whereby all keys are locked only if no locks already exist. If a machine holding a lock dies, that lock will be stuck locked - this is a problem. My ideal answer would be that…
Adrian Seeley
  • 2,262
  • 2
  • 29
  • 37
1
2