<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https:///index.php?action=history&amp;feed=atom&amp;title=Cron</id>
	<title>Cron - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https:///index.php?action=history&amp;feed=atom&amp;title=Cron"/>
	<link rel="alternate" type="text/html" href=""/>
	<updated>2026-04-07T09:40:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id></id>
		<title>Gr0x0rd: Created page with &quot;Scheduled tasks in a linux environment are handled by the cron daemon. The daemon is already running on your system.   To set up your own cron jobs, create a file called crons.cr...&quot;</title>
		<link rel="alternate" type="text/html" href=""/>
		<updated>2011-05-10T16:42:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Scheduled tasks in a linux environment are handled by the cron daemon. The daemon is already running on your system.   To set up your own cron jobs, create a file called crons.cr...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Scheduled tasks in a linux environment are handled by the cron daemon. The daemon is already running on your system. &lt;br /&gt;
&lt;br /&gt;
To set up your own cron jobs, create a file called crons.cron. &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; sudo nano -w crons.cron&lt;br /&gt;
The example below calls a script called &amp;#039;&amp;#039;dbbackup&amp;#039;&amp;#039; every day at 3am, calls a php file called &amp;#039;&amp;#039;logimport&amp;#039;&amp;#039; every minute, and performs a clamav virus scan of the web root, tmp and home directories excluding the warpath folder at 8am on Sundays.&lt;br /&gt;
 #Min	Hour	Day	Month	DOW&lt;br /&gt;
 0	3	*	*	*	/usr/bin/dbbackup&lt;br /&gt;
 */1	*	*	*	*	/usr/bin/php -q /var/www/localhost/htdocs/logimport.php &amp;gt; /dev/null&lt;br /&gt;
 0	8	*	*	0	/usr/bin/clamscan -r --quiet --remove --no-summary -i -l /var/log/clamav/clamscan.log /var/www/localhost/htdocs/ /tmp /home --exclude-dir=/home/gr0x0rd/warpath&lt;br /&gt;
To add these to the cron schedule, &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; sudo crontab //path/to/crons.cron&lt;br /&gt;
To stop the cron jobs in order to edit or change them,&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; sudo crontab -r&lt;br /&gt;
Use nano to alter your crons.cron file, then use the command above to restart the tasks.&lt;/div&gt;</summary>
		<author><name>Gr0x0rd</name></author>
	</entry>
</feed>