Get data from user-defined proc every second