#import <sqlite3.h> @interface ViewController () { sqlite3 *_sqldb; } @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. [self OpenDb]; [self create
root@cacti:~/box# cat convert.py #!/usr/bin/env python import sqlite3,time,rrdtool,os def boxstatus(): ''' check the status of the box, and set it to 1 if it is online, set it to 0 if it is offline ''' if "status.db": os.system('rm status.db') d