Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to stop the script before switching to the app version? #11

Closed
AlexanderProd opened this issue Jun 16, 2018 · 2 comments
Closed

How to stop the script before switching to the app version? #11

AlexanderProd opened this issue Jun 16, 2018 · 2 comments

Comments

@AlexanderProd
Copy link

How can I stop the script before switching to the app version or just updating it?

@kush-agra
Copy link
Owner

kush-agra commented Jun 16, 2018

If you are using a cron job to run it then just go to terminal and write env EDITOR=nano crontab -e and erase the line and then control + o and then enter and control + x to save it

If you are using a version above 1.7.4 then run the command launchctl list | grep -v com.apple and find the activity with label wallpaper or Dynamic_Walls.Scheduler

next just run the command
launchctl unload -w /Users/<YOUR USERNAME>/Library/LaunchAgents/<NAME OF THE LABEL YOU SAW ABOVE>.plist

Let me know if that works :)

@AlexanderProd
Copy link
Author

AlexanderProd commented Jun 16, 2018

Thanks for your help!
the launchctl list | grep -v com.apple command told me that there's a activity called wallpaper running.
But running launchctl unload -w /Users/<YOUR USERNAME>/Library/LaunchAgents/wallpaper.plist returned No such file or directory.

Then I took a look at the /Users/<YOUR USERNAME>/Library/LaunchAgents/ folder and found the Dynamic_walls.Scheduler.plist file.

After that I ran the launchctl unload -w /Users/<YOUR USERNAME>/Library/LaunchAgents/Dynamic_walls.Scheduler.plist command and it successfully stopped the process.

I hope this was the right approach. I'm going to beta test the app now. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants