Message Boards Message Boards

0
|
774 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Save the Wolfram script file periodically and automatically

Posted 1 year ago

Currently, I'm using the following code snippet in my Wolfram script file to perform the periodical and automatic save task:

saveTask = CreateScheduledTask[FrontEndExecute[FrontEndToken["Save"]], 60];
StartScheduledTask[saveTask];

I noticed the above method will enable this feature for all of my files opened in Mathematica. I want to know if there is a method to enable this feature only for the file where this command was evaluated.

Regards,
Zhao

POSTED BY: Hongyi Zhao
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract