View Single Post
EmaNymton's Avatar
Posts: 141 | Thanked: 267 times | Joined on May 2010 @ Germany
#450
Originally Posted by slarti View Post
Or set a calendar entry that repeats once a month and use ProfileMatic's calendar rule.
thanks, didn't know that profilematic can do this, then you can trim the script to


Code:
#!/bin/sh
# reset the data counter 
datetime=$(date +"%d.%m.%Y.%s")
gconftool -s --type string /cellui/settings/datacounter/transfer/gprs_home_tx_bytes "0"
gconftool -s --type string /cellui/settings/datacounter/transfer/gprs_home_rx_bytes "0"
gconftool -s --type string /cellui/settings/datacounter/general/gprs_home_last_reset $datetime
 

The Following User Says Thank You to EmaNymton For This Useful Post: