Timeline for Change user role of a particular user at specific time
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 4, 2018 at 6:25 | comment | added | dc09 | I used this function, the cron has been set up to run daily as per cron manager but the time is fixed at 9:50 PM no matter what I change it to in the code. Basically, cron is working but not at the designated time. | |
May 3, 2018 at 13:29 | comment | added | dc09 | Can we hook the schedule on something else that's more reliable as the schedule might not run if no theme is switched? | |
May 3, 2018 at 11:29 | comment | added | Bikash Waiba | If you removed the cron via cron manager, you can simply switch theme to activate again. | |
May 3, 2018 at 11:26 | comment | added | Bikash Waiba | once theme is switched the schedule will continue daily no need to worry. You can use without any change. | |
May 3, 2018 at 11:25 | comment | added | dc09 | Hi, I need the function to be active at all times in my website theme's function file, hence don't require to hook it to theme/plugin activation. How to modify your code to achieve this? | |
May 3, 2018 at 11:19 | history | answered | Bikash Waiba | CC BY-SA 4.0 |