You can automate this task by using the crontab file.
Each user has his or her own crontab file in the/var/spool/cron/crontabs directory.
Chaque utilisateur possède son propre fichier crontab dans le répertoire /var/spool/cron.
This should bring up the crontab file in your editor.
Ceci devrait ouvrir le fichier crontab dans votre éditeur.
Add the call to the script in the crontab file.
Ajouter l'appel du script dans le fichier crontab.
to create or edit a crontab file to set up regularly scheduled events.
pour créer ou éditer un fichier crontab pour programmer des événements régulièrement.
When a user installs his or her crontab file, they will not have this option.
Quand un utilisateur installe son fichier crontab, il n'aura pas cette option.
The following lists an example of a user crontab file.
L'exemple suivant présente le fichier crontab d'un utilisateur
This is the basic setup for every crontab file, although there is one thing different about this one.
Ceci est la configuration de base pour chaque fichier crontab, bien qu'il y ait une différence dans celui présenté ici.
If the backdoor is not executed under the root account, then it uses the crontab file.
Si la porte dérobée n'est pas exécutée sous le compte root, alors elle utilise le fichier crontab.
For users who wish to begin their own crontab file from scratch, without the use of a template, the crontab -e option is available.
Pour les utilisateurs désirant créer leur fichier crontab à partir de zéro, sans utiliser de modèle, l'option crontab -e est disponible.
By clicking on this link you will be able to edit the web2py crontab file.
En cliquant sur ce lien, vous aurez la possibilité d'éditer le fichier crontab de web2py.
If you specify @reboot in the first field in the crontab file, the given task will be executed only once, at web2py startup.
Si vous spécifiez @reboot dans le premier champ du fichier crontab, la tâche indiquée sera exécutée uniquement une seule fois, au démarrage de web2py.
The preceding crontab file verifies every 5 minutes whether mail messages need to be sent, but only every 15 minutes whether bounced email needs to be processed.
Le fichier crontab précédent vérifie toutes les 5 minutes si les e-mails doivent être envoyés, mais seulement toutes les 15 minutes si les e-mails renvoyés doivent être traités.