The growth of wireless sensor networks (WSN) has resulted in part from requirements for connecting sensors and advances in radio technologies. WSN nodes may be required to save energy and therefore wake up and sleep in a synchronized way. In this paper, we propose an application-driven WSN node synchronization mechanism which, by making use of cross-layer information such as application ID and duty cycle, and by using the exponentially weighted moving average (EWMA) technique, enables nodes to wake up and sleep without losing synchronization. The results obtained confirm that this mechanism maintains the nodes in a mesh network synchronized according to the applications they run, while maintaining a high packet reception ratio.