I've site on Drupal 8.1.x with many nodes (over 200). That node type is articles. Some nodes are old (written last year, for example) and have non actuality content with attach files (photos).  How to make easy way to delete old (older than 30 days from today) nodes of one type (name articles) with all attachments (photos) after run Drupal Cron (for example, time to run Cron is every week)?  Write custom module or use  or something else?  Any working examples helps me to understand. Thanks!
How  can I delete a node after, for example, 2 weeks it has been created?
Windows Activation FAQ: How do language, version, 64-bit or 32-bit, and source affect ability to install and transfer Windows licenses? We get a lot of questions on Super User about Windows activation and licensing. This question is an attempt to answer the most common questions in one place with a .   When reinstalling Windows, the following questions often come up:   Can I transfer the copy of Windows from my old computer to a new one? Does the license key on the sticker on my computer work on any computer? If I have a 32-bit version, can I install a 64-bit version? I have an OEM version of Windows, but only a retail disk. Can I still use it? I want to install Windows with a different language. Do I need a new license in that language? I changed some hardware. Will I be able to reactivate my computer? Can I back up my activation before doing a reinstall? How many computers can I install my license on? Do I have to deactivate my old installation before transferring a license? If so, how? How does licensing work in Windows ? What are the restrictions on transferring, reinstalling, and changing versions of Windows? Set Text Color for textView Android Calculate daily sums using python pandas is it safe to keep database connections open for long time I have a .net client application which is connected to a remote database. Is it safe to keep a single connection open for the lifetime of the client (hours)? Does the answer hold if I have multiple (10 or 100) clients running? Is there Markdown to create tables? It seems like a lot of people try to display tables in Stack&nbsp;Overflow questions, but don't do a very good job. Is there Markdown syntax that supports creating a proper table? Sudo not available in guest login Duplicate:                      The number of residents has grown.    The number of residents have grown.      Which of the above sentences is grammatical? Since has should stick with singular nouns and have with plural ones, I guess (2) should be correct, but I'm not sure. Landscape topography from grayscale image Ubuntu 14.04 doesn' t boot after upgrade from 12.04 installed inside Windows 8.1 I have Ubuntu 12.04 installed like an app on windows 8.1 (Ubuntu 12.04 allow to be installed like an app in Windows 8.1 and it can be removed when you don't need it any more from Control Panel). Usually, to chose what os to boot when you start the laptop, you can choose between windows 8.1 and Ubuntu after windows logo appeared at start up and that was ok until I made this upgrade. Now when I try to choose Ubuntu the laptop try to boot it but, after that full colored screen is showed the screen go black and this messages appear:  mount: mounting /dev/loop0/ on /root failed : Invalid argument mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn' t have requested /sbin/init No init found. Try passing init = bootarg.  BusyBox v1.21.1 (Ubuntu 1:1:21.0-1ubuntu1) built-in shell (ash) Enter 'help' for a list of built-in commands  (initramfs) _   I don' t know what to do after this screen appears. Please help ! Show OPs if someone is answering, live I ask a lot of question on SO, so this recommendation/idea comes from that experience. I'm not really sure how this would fit in with the current structure of SE.   Oftentimes after asking a question, maybe after an hour or so, I end up finding the answer I needed somewhere. And it comes time for me to answer the most difficult question of all: do I delete this question, or do I keep it in case someone answers and others may benefit from it. The problem is, if I don't delete it and no one answers, my acceptance rate goes down. So usually I'll just delete it.  However, sometimes I fear that someone is typing a really really long answer to my question since itäs only been an hour, and so I imagine the nightmare that person experiences when they find out their essay will be gone to waste. Overall, this never-to-be-seen-again answer could have benefitted many people had the question remained.  Since SE has gone "live-happy" lately, where answers and comments refresh live, I thought it might be interesting if the original asker of the question (or anyone else for that matter) could see how many people are currently responding to the question (just count, not necessary to display their names). This way, if I know someone is replying, I won't delete the question, and others can benefit from it. Abstraction VS Information Hiding VS Encapsulation Can you tell me what is the difference between abstraction and information hiding in software development?  I am confused. Abstraction hides detail implementation and information hiding abstracts whole details of something.  Update: I found a good answer for these three concepts.  for several citations taken from . How can I install applications like Google Chrome on Ubuntu?  Are there any commands to install an application?    Index of answers: I am just looking for some clarification on this exercise:  Let $A = \{a,b,c,d\}$. Give an example of a relation $R$ on $A^2$ which is reflexive, symmetric, and not transitive.  I understand that if I was only dealing with $A$ and and not $A^2$ I could give an answer similar to:  $R = \{(a,a),(a,b),(a,d),(b,a),(b,b),(c,c),(d,a),(d,d)\}$  Here $R$ is reflexive, symmetric, and not transitive.  What is confusing me is the fact that we have $A^2$. I am not sure what I am missing here. I am looking through my book to see if I can figure this out, but if someone could help shed some light on this it would be appreciated.  Thanks,  Tony I created a bunch of filters in Gmail for a "master account" that receives forwarded mail from all of my accounts.  The filter list and web of labels/folders has grown to be rather long, and therefore a bit burdensome to manage. I would like to edit / delete / consolidate a lot of these filter rules (and folders) but it seems the only way I can interface with them is through the laundry list at Setting/Filters. It'd be cool there was an option to "View/Edit Filter" on an individual email's page, but I'm not sure if something like that currently exists.  What's the best way to view a filter rule currently being applied to an email (in Gmail)? I have this rule in my iptables:  iptables -A INPUT -s 192.168.11.0/24 -j LOG   My question is:  Where is the iptables log file, and how can I change that? Asymptotics of uniformly continuous functions over $\mathbb R$ How to show textures in the 3D View editor? I have added some textures to objects in blender but the textures don't show up until I render the file. it can be difficult to know what the objects look like without rendering it. is there a way to have textures show in the editor even if they are at a lower res?  In editor:    Rendered: This formula provides the $n$th term in the Fibonacci Sequence, and is defined using the recurrence formula: $u_n = u_{n − 1} + u_{n − 2}$, for $n &gt; 1$,  where $u_0 = 0$ and $u_1 = 1$.   Show that     $$u_n = \frac{(1 + \sqrt{5})^n - (1 - \sqrt{5})^n}{2^n \sqrt{5}}.$$    Please help me with its proof. Thank you. How To Program A Bash Script That Presses A Certain Combination Of Keys? Please, i need someone to help me in making a very simple bash script. The job of this script is just to press a certain combination of keys on the keyboard.  My objective is to create a script that would turn off the Kubuntu desktop effects completely. The key combination for that is: "Left-ALT + Left-Shift + F12". I am aware that there is a widget that might do this job, but i am trying to learn how to accomplish it with a bash script.  I have tried to do an online search but i guess i was choosing the wrong set of keywords. I did not manage to reach a tutorial or a reference that would mention this task.  Thanks in advance for your help!  P.S: Any suggestions, references, notes, comments or tutorials would also be greatly be appreciated. As a non-native speaker, I cannot grasp any difference between the expressions "here we go" and "there we go": both expressions seem to underline an event that is going to happen immediately.  Is there any subtle usage detail that I am missing?