'Increment Cell value per second in Google Sheets

Say in cell A1 I wrote value 0. How can I increment the value of A1 by 1 every second?



Solution 1:[1]

To execute a script on a recurring interval you can use triggers; however, as @TheWizEd mentioned, time-driven triggers only let you run scripts at 1 minute intervals as minimum.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1