Re: Running a process every N days
Hi Dan FWIW I'd use logrotate for this. Regards Mark Westwood On Jun 7, 11:27 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: What's the best way to run either an entire python process or a python thread every N days. I'm running Python 2.4.3 on Fedora Core 5 Linux. My code consists of a test and measurement system that runs 24/7 in a factory setting. It collects alot of data and I'd like to remove all data older than 30 days. My ideal solution would be something that runs in the background but only wakes up to run every few days to check for old data. Thanks, Dan McLeran -- http://mail.python.org/mailman/listinfo/python-list
Running a process every N days
What's the best way to run either an entire python process or a python thread every N days. I'm running Python 2.4.3 on Fedora Core 5 Linux. My code consists of a test and measurement system that runs 24/7 in a factory setting. It collects alot of data and I'd like to remove all data older than 30 days. My ideal solution would be something that runs in the background but only wakes up to run every few days to check for old data. Thanks, Dan McLeran -- http://mail.python.org/mailman/listinfo/python-list
Re: Running a process every N days
On 2007-06-07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: What's the best way to run either an entire python process or a python thread every N days. man cron man 5 crontab -- Grant Edwards grante Yow! It don't mean a at THING if you ain't got visi.comthat SWING!! -- http://mail.python.org/mailman/listinfo/python-list
Re: Running a process every N days
On Jun 7, 3:27 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: What's the best way to run either an entire python process or a python thread every N days. I'm running Python 2.4.3 on Fedora Core 5 Linux. My code consists of a test and measurement system that runs 24/7 in a factory setting. It collects alot of data and I'd like to remove all data older than 30 days. My ideal solution would be something that runs in the background but only wakes up to run every few days to check for old data. google cron -Mike -- http://mail.python.org/mailman/listinfo/python-list
Re: Running a process every N days
[EMAIL PROTECTED] schrieb: What's the best way to run either an entire python process or a python thread every N days. I'm running Python 2.4.3 on Fedora Core 5 Linux. My code consists of a test and measurement system that runs 24/7 in a factory setting. It collects alot of data and I'd like to remove all data older than 30 days. My ideal solution would be something that runs in the background but only wakes up to run every few days to check for old data. Use cron, the periodic task scheduler of your OS. Diez -- http://mail.python.org/mailman/listinfo/python-list
Re: Running a process every N days
[EMAIL PROTECTED] wrote: What's the best way to run either an entire python process or a python thread every N days. I'm running Python 2.4.3 on Fedora Core 5 Linux. My code consists of a test and measurement system that runs 24/7 in a factory setting. It collects alot of data and I'd like to remove all data older than 30 days. My ideal solution would be something that runs in the background but only wakes up to run every few days to check for old data. Thanks, Dan McLeran And you can use cron to launch your python program? -- David Bear -- let me buy your intellectual property, I want to own your thoughts -- -- http://mail.python.org/mailman/listinfo/python-list
Re: Running a process every N days
On 6/7/07, David Bear [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: What's the best way to run either an entire python process or a python thread every N days. I'm running Python 2.4.3 on Fedora Core 5 Linux. My code consists of a test and measurement system that runs 24/7 in a factory setting. It collects alot of data and I'd like to remove all data older than 30 days. My ideal solution would be something that runs in the background but only wakes up to run every few days to check for old data. Thanks, Dan McLeran And you can use cron to launch your python program? -- David Bear -- let me buy your intellectual property, I want to own your thoughts -- -- http://mail.python.org/mailman/listinfo/python-list yes. man cron man crontab -- http://mail.python.org/mailman/listinfo/python-list